unregister method
Removes id from the bus and notifies all remaining nodes.
Implementation
void unregister(NodeId id) {
_nodes.remove(id);
for (final other in _nodes.values) {
other.injectPeerLost(id);
}
}
Removes id from the bus and notifies all remaining nodes.
void unregister(NodeId id) {
_nodes.remove(id);
for (final other in _nodes.values) {
other.injectPeerLost(id);
}
}