Advanced: Estimated latency to the node.
The identifier of this node.
Event emitted when a message is received by this node.
Event emitted when this node is no longer available and should be discarded.
Send a message to this node. This will return a promise that will complete when the message has initially been sent.
Generated using TypeDoc
Node within the network. Nodes are individual instances that you can receive and send messages from/to.
Nodes are usually retrieved via a Network or Group. When a node becomes available you may opt in to events about the node via subscribable functions such as onMessage and onUnavailable.
When a node becomes unavailable you should stop listening to events and discard the node.
Messages to the specific node may be sent via send.