ReadonlyattachRegister a fault listener on the current connection and return a disposer that removes it. The supervisor calls this on start and, in drive mode, after each successful reconnect (the connection is recreated), and calls the returned disposer when re-attaching or tearing down.
Optional Readonlyattach(observe) Register a recovery listener and return a disposer that removes it.
Optional ReadonlyinitialFirst backoff window, in milliseconds.
Optional ReadonlymaxBackoff ceiling, in milliseconds.
Readonlymodedrive reconnects; observe only tracks fault/recovery.
Optional Readonlyreassert(drive) Re-assert broker-level state (e.g. the exchange) after a successful reconnect.
Optional Readonlyreconnect(drive) Re-establish the connection and channel. Called on each attempt.
Optional Readonlyreplay(drive) Replay every active subscription after a successful reconnect.
ReadonlyruntimeRuntime services providing the monotonic timer surface.
Options for
ReconnectSupervisor.Since
0.10.0