Skip to content

Type Alias: ConnectionStatus

ts
type ConnectionStatus = "connected" | "disconnected" | "connecting";

A string literal type representing the connection status of the adapter. It can be one of the following values:

  • "connected": The adapter is connected and ready to use.
  • "disconnected": The adapter is not connected.
  • "connecting": The adapter is in the process of connecting.