TypeScript API / contentia/storage / SubscribeChangesOptions
Interface: SubscribeChangesOptions
Options for subscribeChanges.
This is the PUSH counterpart to the pull getSyncToken / listChanges feed: instead of polling, a listener is invoked as changes happen.
Properties
folder?
ts
folder?: string;Scope the subscription to a folder; omit for the whole store.
since?
ts
since?: string & Brand<"SyncToken">;A token previously obtained from the pull feed. Advisory: backends that only support live notifications (no historical replay) ignore it.