Clones the controller.
Disables reconnect until the controller is next reset.
Switches the reconnect controller into a mode where it will only restart the peer connection instead of restarting the session starting with the signaling connection.
Indicates whether a connection attempt is already in progress.
Indicates whether the current connection attempt was the first.
Resets the ReconnectController to its default state.
Decides whether to retry the retryFunc after some amount of backoff depending on the controller.
Sets the last active external timestamp in milliseconds.
Returns whether only the peer connection should be restarted at this time.
Indicates that a connection attempt has started so that the reconnect deadline can be set.
Generated using TypeDoc
Cancels any pending retry and disables reconnect. The cancel function supplied to the retryWithBackoff will be called if there was a pending retry.