Interface ResultItems<ItemType>

Response of a synchronous query.

interface ResultItems<ItemType> {
    cancel?: undefined;
    hasMore?: boolean;
    then?: undefined;
    total?: number;
}

Type Parameters

Hierarchy

Properties

cancel?: undefined

Function to cancel the query. It is always 'undefined' in synchronous responses.

Deprecated

Use AbortOptions (AbortSignal)

hasMore?: boolean

Set to true by the store to indicate that there are more results. The client may query again with an appropriate start value.

then?: undefined

Function to react on the provided result. It is always 'undefined' in synchronous responses.

total?: number

Total number of available items in the result.

Generated using TypeDoc