@drupflare/workforce - v0.3.0
    Preparing search index...

    Type Alias Fetcher

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

    The HTTP function this library calls.

    An explicit signature rather than typeof fetch, because that type is not the same under @cloudflare/workers-types as it is under @types/node and a library that runs on both cannot mean two things by it.

    Type Declaration

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

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

        Returns Promise<Response>