@supabase/middleware - v0.2.0
    Preparing search index...

    Type Alias FetchHandler

    FetchHandler: (req: Request, ctx?: BaseContext) => Promise<Response>

    The type of a composed stack used as a runtime fetch entry. Annotating the outermost handler with this (… satisfies FetchHandler) is the optional, type-only anchor that lets the innermost handler see every upstream key ambiently. It is not needed for cross-middleware dependencies declared as In prerequisites — those type without any annotation.

    Type Declaration

      • (req: Request, ctx?: BaseContext): Promise<Response>
      • Parameters

        Returns Promise<Response>