Skip to content

ReplicateOptions

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

How replicateOnce replicates.

Properties

Name Description
direction Which way to move changes.
from? Where each direction resumes.
limit? Batch size.

readonly direction: SyncDirection

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

Which way to move changes.


readonly optional from?: SyncCursor

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

Where each direction resumes. Absent, it starts from the beginning of the log.


readonly optional limit?: number

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

Batch size. Bounded so a large backlog does not become one enormous read.

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.