Interface ApiClient

interface ApiClient {
    batchQuery(queries): Promise<Envelope[][]>;
    publish(messages): Promise<PublishResponse>;
    query(params, options): Promise<Envelope[]>;
    queryIteratePages(params, options): AsyncGenerator<Envelope[], any, unknown>;
    queryIterator(params, options): AsyncGenerator<Envelope, any, unknown>;
    setAuthenticator(authenticator, cacheExpirySeconds?): void;
    subscribe(params, callback, onConnectionLost?): SubscriptionManager;
}

Implemented by

Methods

  • Parameters

    Returns AsyncGenerator<Envelope[], any, unknown>

  • Parameters

    Returns AsyncGenerator<Envelope, any, unknown>

  • Parameters

    Returns void

Generated using TypeDoc