Relate

Interface: QueryResult<T>

Defined in: packages/protocol/src/index.ts:45

Await one page, or iterate records across pages.

Extends

  • PromiseLike<Page<T>>.AsyncIterable<T>

Type Parameters

Type Parameter
T

Methods

[asyncIterator]()

asyncIterator: AsyncIterator<T, any, any>;

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:36

Returns

AsyncIterator<T, any, any>

Inherited from

AsyncIterable.[asyncIterator]

then()

then<TResult1, TResult2>(onfulfilled?, onrejected?): PromiseLike<TResult1 | TResult2>;

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1542

Attaches callbacks for the resolution and/or rejection of the Promise.

Type Parameters

Type ParameterDefault type
TResult1Page<T>
TResult2never

Parameters

ParameterTypeDescription
onfulfilled?((value) => TResult1 | PromiseLike<TResult1>) | nullThe callback to execute when the Promise is resolved.
onrejected?((reason) => TResult2 | PromiseLike<TResult2>) | nullThe callback to execute when the Promise is rejected.

Returns

PromiseLike<TResult1 | TResult2>

A Promise for the completion of which ever callback is executed.

Inherited from

PromiseLike.then

On this page