start method

Future<void> start()

Starts the connect → register → heartbeat loop (with reconnection).

Implementation

Future<void> start() async {
  if (_loop != null) throw StateError('Node is already started');
  _stopped = false;
  _loop = _run();
}