afterConnect method
- Nyxx client
override
Called after each client this plugin is added to connects.
Implementation
@override
void afterConnect(Nyxx client) {
_ensureListening();
_watchedClients.add(client);
client.logger.info('Listening for SIGINT or SIGTERM to safely close');
}