stop method

Future<void> stop()

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});
}