Action

sealed interface Action(source)

Action the caller should take after the policy processes an outcome.

Inheritors

Types

Link copied to clipboard

Continue immediately (e.g. after an intentional disconnect).

Link copied to clipboard

Give up permanently.

Link copied to clipboard
data class Retry(val backoff: Duration) : BleReconnectPolicy.Action

Retry the connection after the specified backoff delay.

Link copied to clipboard

Signal a transient disconnect to higher layers.