Pick returns the connection to use for this RPC and related information. Pick should not block. If the balancer needs to do I/O or any blocking or time-consuming work to service this call, it should return ErrNoSubConnAvailable, and the Pick call will be repeated by gRPC when the Picker is updated
(info PickInfo)
| 331 | // ready RPCs will be terminated with this error's Error() string and |
| 332 | // status code Unavailable. |
| 333 | Pick(info PickInfo) (PickResult, error) |
| 334 | } |
| 335 | |
| 336 | // Balancer takes input from gRPC, manages SubConns, and collects and aggregates |
no outgoing calls