Skip to content

ChangeStreamSubscription

Defined in: libs/runtime/src/change-stream-client.ts:43

A running subscription to a hub’s change stream.

Properties

Name Description
lastEventId The last seq seen, which is what a reconnect resumes from.

Methods

Name Description
cancel() Stops it: no more reconnects and no more calls to the handlers.

readonly lastEventId: number

Defined in: libs/runtime/src/change-stream-client.ts:47

The last seq seen, which is what a reconnect resumes from.

cancel(): Promise<void>

Defined in: libs/runtime/src/change-stream-client.ts:45

Stops it: no more reconnects and no more calls to the handlers.

Promise<void>

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.