Member Junction
    Preparing search index...
    interface ApolloPeopleClientOptions {
        BaseURL?: string;
        FetchImpl?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        SleepImpl?: (ms: number) => Promise<void>;
    }
    Index

    Properties

    BaseURL?: string
    FetchImpl?: {
        (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
        (input: string | URL | Request, init?: RequestInit): Promise<Response>;
    }

    Injected fetch, for tests. Tests must never reach api.apollo.io.

    Type Declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    SleepImpl?: (ms: number) => Promise<void>

    Injected sleep for the single per-minute retry, so tests never wait.