Type Alias ConnectionState

ConnectionState:
    | "offline"
    | "connecting"
    | "updating"
    | "connected"

Connection state of the client

  • offline - not connected (only emitted when ICorePlatform.onNetworkChanged callback is called with false)
  • connecting - currently connecting. All requests will be queued until the connection is established
  • updating - connected and is currently updating the state (i.e. downloading missing updates). At this point client is already fully operational, but some updates may be missing. Is only emitted when updates manager is enabled.
  • connected - connected and ready to send requests. When updates manager is enabled, this state may be emitted before updating state