Interface BatchCursorItemsView<ItemType>

A low-level interface for consuming the items of a BatchCursor.

interface BatchCursorItemsView<ItemType> {
    isEmpty: boolean;
    more(): Promise<void>;
    shift(): undefined | ItemType;
}

Type Parameters

  • ItemType = any

Properties

Methods

Properties

isEmpty: boolean

Methods