IServiceDiscovery.pick(serviceName: string,options?: PickOptions): Promise<ServiceInstance | null>
Chooses one instance, skipping ejected ones.
optional
options: PickOptions
Per-call strategy override
Promise<ServiceInstance | null>
The chosen instance, or null when the service has none