start method
Runs until reconnection is exhausted or disposal ends the loop.
Implementation
Future<void> start() {
if (_lifetime.isCanceled) throw StateError('WebSocket service disposed.');
return _running ??= _run();
}
Runs until reconnection is exhausted or disposal ends the loop.
Future<void> start() {
if (_lifetime.isCanceled) throw StateError('WebSocket service disposed.');
return _running ??= _run();
}