@stephen-shopopop/node-metrics
    Preparing search index...

    Type Alias FetchCallback

    FetchCallback: (request: Context) => Promise<Response> | Response

    Represents a callback function to handle HTTP requests in a web server context.

    Type declaration

      • (request: Context): Promise<Response> | Response
      • Parameters

        • request: Context

          The context object representing the incoming HTTP request.

        Returns Promise<Response> | Response

        A Response object or a Promise that resolves to a Response.