Skip to main content

Interface: AsyncSequence<T>

Represents an asynchronous sequence of elements.

Extends

  • AsyncIterable<T>

Type parameters

Type parameterDescription
TThe type of elements in the sequence.

Methods

[asyncIterator]()

[asyncIterator](): AsyncIterator ↗️<T, any, undefined>

Returns

AsyncIterator ↗️<T, any, undefined>

Inherited from

AsyncIterable.[asyncIterator]

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:38


toArray()

toArray(): Promise ↗️<T[]>

Buffers the sequence into an array of type T.

Returns

Promise ↗️<T[]>

A promise that resolves with an array of type T.

Source

packages/verse-core/src/query/queryable.ts:123