start method

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

Starts the router.

This method initializes the router and starts listening for incoming messages. It also pings non-local peers to establish connections.

Implementation

@override
Future<void> start() async {
  await super.start();
  await _pingNonLocals();
}