Events
Event: 'registered'
boundPort
Services registered to zookeeper, gRPC server is listening, everything should be ready to handle incoming requests. This event should always occur before 'connected'
event. The listener callback is passed a single numeric argument which contains the boundPort
when called.
Event: 'connected'
Connected to the service network and ready to send requests.
Event: 'close'
The ServiceClient
was closed (either by graceful or force shutdown).