Name of this group, useful for debugging purposes.
Get all of the nodes that are part of this group.
Event emitted when a message is received on this group.
Event emitted when a new node joins this group.
Event emitted when a node leaves this group.
Broadcast a message to all nodes that have joined this group.
Join this group.
Leave this group.
Generated using TypeDoc
Groups are a collection of nodes that can be reached in some way. This may either be a full network or a sub-set of one. Groups will emit events when membership changes via onNodeAvailable and onNodeUnavailable.
Messages sent to nodes in the group can be listened to via onMessage and broadcasts can be sent via broadcast.