Scale Intelligence■ Docs
Docs / The model / ConnectionState

ConnectionState.

The one WebSocket a session keeps to the platform, as the status bar shows it

Figure 1ConnectionStatespecified
CONNECTIONSTATEvalue at none scopestateenum:connecting|open|degraded|…opened_attimeoptionallast_message_attimeoptionalcursorEventCursoroptionalretriescountEVENTCURSORthrough cursor
ConnectionState is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
interfaces

Fields#

fieldtyperequirednote
stateone of connecting | open | degraded | closedyes
opened_attimeno
last_message_attimeno
cursorEventCursorno
retriescountyes

Routes that use it#

No route takes or returns ConnectionState directly. The record holds it, and the objects that point at it reach it.