API reference › @evolu/common › local‑first/Shared › SyncConnection
type SyncConnection =
ConnectingSyncConnection | OpenSyncConnection | DisconnectedSyncConnection;
Defined in: packages/common/src/local-first/Shared.ts:873
The connection of a SyncTransport: Connecting until its first
connection opens or fails, Open while a connection is open, and
Disconnected from a close, a failure, or a sleep, an unanswered request or
silence that replaced the connection, until a connection opens again; see
Liveness in this module's documentation. It never returns to Connecting.
The transport's events drive these states.