Package version:

Interface ChangeFeedIteratorOptions

Specifies options for the change feed

If none of those options are set, it will start reading changes from now for the entire container.

interface ChangeFeedIteratorOptions {
    changeFeedMode?: ChangeFeedMode;
    changeFeedStartFrom?: ChangeFeedStartFrom;
    maxItemCount?: number;
    sessionToken?: string;
}

Properties

changeFeedMode?: ChangeFeedMode

Signals the mode in which the change feed needs to start.

changeFeedStartFrom?: ChangeFeedStartFrom

Signals where to start from in the change feed.

maxItemCount?: number

Max amount of items to return per page

sessionToken?: string

The session token to use. If not specified, will use the most recent captured session token to start with.