stop method

  1. @override
Future<void> stop()
override

Stops the transport, closing all active connections.

Implementation

@override
Future<void> stop() async {
  _bus.unregister(_nodeId!);
  await _events.close();
  await _inbound.close();
}