autoReconnect

fun autoReconnect(enabled: Boolean = true, initialBackoff: Duration = 1.seconds, maxBackoff: Duration = 60.seconds, maxAttempts: Int? = null, backoffMultiplier: Double = 2.0, jitter: Double = 0.2): RadioClient.Builder(source)

Configure the engine's built-in auto-reconnect supervisor.

Convenience overload that constructs an AutoReconnectConfig from the supplied tunables. Default: disabled. The 1.0 release will flip the default to enabled = true; pin a value here if you want today's "host owns reconnect" behaviour to survive that bump.


Configure the auto-reconnect supervisor with a pre-built AutoReconnectConfig.