ArrayCursor
Defined in: packages/client/src/cursor.ts:117
Results of aggregate() and other list calls: read with toArray() or for await.
Type Parameters
Section titled “Type Parameters”T
Implements
Section titled “Implements”AsyncIterable<T>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ArrayCursor<
T>(load):ArrayCursor<T>
Defined in: packages/client/src/cursor.ts:120
Parameters
Section titled “Parameters”() => Promise<T[]>
Returns
Section titled “Returns”ArrayCursor<T>
Methods
Section titled “Methods”[asyncIterator]()
Section titled “[asyncIterator]()”[asyncIterator]():
AsyncIterator<T>
Defined in: packages/client/src/cursor.ts:127
Returns
Section titled “Returns”AsyncIterator<T>
Implementation of
Section titled “Implementation of”AsyncIterable.[asyncIterator]
toArray()
Section titled “toArray()”toArray():
Promise<T[]>
Defined in: packages/client/src/cursor.ts:122
Returns
Section titled “Returns”Promise<T[]>
Made by Faeiz Furqan