close method

Future<void> close()

Closes the whole chain: timers and listeners are cancelled, the bridge and the top local bus are disposed. Never restarts. Safe to call twice.

Implementation

Future<void> close() => _closeFuture ??= _close();