AutoReconnectConfig
Tunables for the engine's built-in auto-reconnect supervisor.
Configure on the RadioClient.Builder via autoReconnect(...).
Default: Disabled. The 1.0 release will flip the default to enabled = true; pin a value explicitly here if you want today's "host owns reconnect policy" behaviour to survive that bump.
Backoff formula: delay(n) = min(initialBackoff * backoffMultiplier^(n-1), maxBackoff) then multiplied by (1 ± jitter * random()). The supervisor uses kotlinx.coroutines.delay so virtual-time test runners (runTest / advanceTimeBy) drive the schedule deterministically.
Since
0.1.0
Constructors
Properties
exponential growth factor between attempts (default: 2.0). Coerced to >= 1.0 by the init block.
toggle the supervisor entirely. When false the engine surfaces a single ConnectionState.Disconnected after a transport drop.
delay before the first reconnect attempt (default: 1 s).
upper bound on reconnect attempts; null means retry indefinitely. When the cap is reached the engine emits ConnectionState.Disconnected with the original cause and stops.
hard cap on backoff between successive attempts (default: 60 s).