stop method
Disconnects from the hub, closing every in-flight relay session.
Implementation
Future<void> stop() async {
await rpc.closeSessions();
await runtime.stop();
logger.info('Storage node stopped', context: {'node': nodeId});
}
Disconnects from the hub, closing every in-flight relay session.
Future<void> stop() async {
await rpc.closeSessions();
await runtime.stop();
logger.info('Storage node stopped', context: {'node': nodeId});
}