ChangeStreamSubscription
Defined in: libs/runtime/src/change-stream-client.ts:43
A running subscription to a hub’s change stream.
Member summary
Section titled “Member summary”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. |
Properties
Section titled “Properties”lastEventId
Section titled “lastEventId”
readonlylastEventId:number
Defined in: libs/runtime/src/change-stream-client.ts:47
The last seq seen, which is what a reconnect resumes from.
Methods
Section titled “Methods”cancel()
Section titled “cancel()”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.
Returns
Section titled “Returns”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.