Interface ApiClient

interface ApiClient {
    batchQuery(queries: Flatten<QueryParams & Flatten<Omit<QueryAllOptions, "limit"> & {
        pageSize?: number;
    }>>[]): Promise<Envelope[][]>;
    publish(messages: PublishParams[]): Promise<PublishResponse>;
    query(params: QueryParams, options: QueryAllOptions): Promise<Envelope[]>;
    queryIteratePages(params: QueryParams, options: Flatten<Omit<QueryAllOptions, "limit"> & {
        pageSize?: number;
    }>): AsyncGenerator<Envelope[], any, unknown>;
    queryIterator(params: QueryParams, options: Flatten<Omit<QueryAllOptions, "limit"> & {
        pageSize?: number;
    }>): AsyncGenerator<Envelope, any, unknown>;
    setAuthenticator(authenticator: Authenticator, cacheExpirySeconds?: number): void;
    subscribe(params: SubscribeParams, callback: SubscribeCallback, onConnectionLost?: OnConnectionLostCallback): SubscriptionManager;
}

Implemented by

Methods