Skip to main content

Interface: ConnectivityProvider

Defined in: contract.ts:158

@rasd/sync — the public entry point.

Two things ship here: the engine (createSyncEngine), which is transport agnostic and drives @rasd/storage's outbox, and the RSP v1 transport (createRspTransport), which is one implementation of the frozen SyncTransport port. A host talking to ODK Central, KoboToolbox or its own backend replaces the second without touching the first (docs/10-sync-protocol.md §10).

Nothing in this file has an implementation; every symbol is re-exported from the module that owns it, so the graph stays a DAG: contracttypespolicy / backoff / classifyidempotencyrsp-transportengine.

Methods

metered()?

optional metered(): boolean;

Defined in: contract.ts:160

Returns

boolean


online()

online(): boolean;

Defined in: contract.ts:159

Returns

boolean


subscribe()

subscribe(cb): Unsubscribe;

Defined in: contract.ts:161

Parameters

ParameterType
cb(online) => void

Returns

Unsubscribe