stop method
void
stop()
Stops the router.
This method stops all configured transports, effectively shutting down the router and preventing further message processing.
Implementation
void stop() {
_isRunning = false;
for (final t in transports) {
t.stop();
}
}