API reference › @evolu/common › local‑first/Shared › SyncState

Defined in: packages/common/src/local-first/Shared.ts:542

A snapshot of the transports and databases the shared worker manages. Each part is a union of the states the worker keeps for it, so each part holds only the fields valid for its state. Apps derive what to show with syncStateToOwnerSyncStatus; see Sync state in this module's documentation.

Properties

tenants

readonly tenants: readonly SyncTenant[];

Defined in: packages/common/src/local-first/Shared.ts:544


transports

readonly transports: readonly WebSocketSyncTransport[];

Defined in: packages/common/src/local-first/Shared.ts:543