Skip to main content

ConnectionStateType Namespace

Namespace for the different connection states a container can be in. PLEASE NOTE: The sequence of the numerical values does no correspond to the typical connection state progression.

Signature

export declare namespace ConnectionState

Types

TypeAliasDescription
CatchingUpThe container has an inbound connection only, and is catching up to the latest known state from the service.
ConnectedThe container is fully connected and syncing.
DisconnectedThe container is not connected to the delta server. Note - When in this state the container may be about to reconnect, or may remain disconnected until explicitly told to connect.
EstablishingConnectionThe container is disconnected but actively trying to establish a new connection. PLEASE NOTE that this numerical value falls out of the order you may expect for this state.

Variables

VariableModifiersTypeDescription
CatchingUpreadonlyThe container has an inbound connection only, and is catching up to the latest known state from the service.
ConnectedreadonlyThe container is fully connected and syncing.
DisconnectedreadonlyThe container is not connected to the delta server. Note - When in this state the container may be about to reconnect, or may remain disconnected until explicitly told to connect.
EstablishingConnectionreadonlyThe container is disconnected but actively trying to establish a new connection. PLEASE NOTE that this numerical value falls out of the order you may expect for this state.

Variable Details

CatchingUp

The container has an inbound connection only, and is catching up to the latest known state from the service.

Signature

CatchingUp = 1

Connected

The container is fully connected and syncing.

Signature

Connected = 2

Disconnected

The container is not connected to the delta server. Note - When in this state the container may be about to reconnect, or may remain disconnected until explicitly told to connect.

Signature

Disconnected = 0

EstablishingConnection

The container is disconnected but actively trying to establish a new connection. PLEASE NOTE that this numerical value falls out of the order you may expect for this state.

Signature

EstablishingConnection = 3