ReplicationOptions
Defined in: libs/runtime/src/typedblite-replicator.ts:37
How TypeDBLiteReplicator replicates.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| direction | Which way to move changes. |
| from? | Where each direction resumes. |
| timeoutMs? | replicateOnce only: fail if the hub has not answered, pull and push together, within this many milliseconds. |
Properties
Section titled “Properties”direction
Section titled “direction”
readonlydirection:SyncDirection
Defined in: libs/runtime/src/typedblite-replicator.ts:39
Which way to move changes.
readonlyoptionalfrom?:SyncCursor
Defined in: libs/runtime/src/typedblite-replicator.ts:41
Where each direction resumes. Absent, it starts from the beginning of the log.
timeoutMs?
Section titled “timeoutMs?”
readonlyoptionaltimeoutMs?:number
Defined in: libs/runtime/src/typedblite-replicator.ts:47
replicateOnce only: fail if the hub has not answered, pull and push together, within this many
milliseconds. Without it, a hub that accepts the connection and then says nothing (a paused
container, a dropped route) hangs the sync for as long as the socket lives.
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.