Skip to content

replicateOnce

replicateOnce(local, remote, options): SyncOutcome

Defined in: libs/runtime/src/replicator.ts:128

Replicate once, in the requested direction, and report where to resume.

Idempotent: applying a revision twice is absorbed by UNIQUE (entity_id, rev), so a run that is interrupted after applying but before its caller stores the cursor repeats work rather than losing or duplicating it.

ReplicationEndpoint

ReplicationEndpoint

ReplicateOptions

SyncOutcome

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.