Interface AsyncQueryResult<ItemType>

Response of an asynchronous query.

interface AsyncQueryResult<ItemType> {
    cancel?(msg?): void;
    total?: Promise<number>;
}

Type Parameters

Hierarchy

Properties

Methods

Properties

total?: Promise<number>

Total number of available items in the result.

Deprecated

transport the 'total' value on the result array.

Methods

  • Function to cancel the query.

    Parameters

    • Optional msg: string

    Returns void

    Deprecated

    Use AbortOptions (AbortSignal)

Generated using TypeDoc