WaitForReady configures the RPC's behavior when the client is in TRANSIENT_FAILURE, which occurs when all addresses fail to connect. If waitForReady is false, the RPC will fail immediately. Otherwise, the client will wait until a connection becomes available or the RPC's deadline is reached. By d
(waitForReady bool)
| 339 | // |
| 340 | // By default, RPCs do not "wait for ready". |
| 341 | func WaitForReady(waitForReady bool) CallOption { |
| 342 | return FailFastCallOption{FailFast: !waitForReady} |
| 343 | } |
| 344 | |
| 345 | // FailFast is the opposite of WaitForReady. |
| 346 | // |
no outgoing calls