Connection-error retry state machine for ZenWebsocket.Client.
Attempt-identity timers live in ZenWebsocket.Client.Connection; this module
applies retry policy to reconnect immediately, schedule backoff, or stop.
Summary
Functions
Handles a failed open by cleaning up and maybe scheduling a retry.
Cleans up a failed connection and retries or stops according to policy.
Times out the in-flight connection attempt when the attempt identity matches.
Handles a scheduled reconnect tick, stopping when retries are exhausted.
Functions
Handles a failed open by cleaning up and maybe scheduling a retry.
Cleans up a failed connection and retries or stops according to policy.
Times out the in-flight connection attempt when the attempt identity matches.
@spec handle_retry_reconnect(map()) :: {:noreply, map()} | {:noreply, map(), {:continue, :reconnect}} | {:stop, term(), map()}
Handles a scheduled reconnect tick, stopping when retries are exhausted.