Package version:

Interface ChangeFeedPullModelIterator<T>

Use Items.getChangeFeedIterator() to return an iterator that can iterate over all the changes for a partition key, feed range or an entire container.

interface ChangeFeedPullModelIterator<T> {
    hasMoreResults: boolean;
    getAsyncIterator(): AsyncIterable<ChangeFeedIteratorResponse<(T & Resource)[]>, any, any>;
    readNext(): Promise<ChangeFeedIteratorResponse<(T & Resource)[]>>;
}

Type Parameters

  • T

Properties

hasMoreResults: boolean

Always returns true, changefeed is an infinite stream.

Methods