API reference › @evolu/common › local‑first/Shared › SyncConnection
type SyncConnection =
ConnectingSyncConnection | OpenSyncConnection | DisconnectedSyncConnection;
Defined in: packages/common/src/local-first/Shared.ts:577
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 an unanswered request that
replaced the connection, until a connection opens again. It never returns to
Connecting. The transport's events drive these states.