AppRouteHandlerFn<Options>: ((req, ctx, opts?) => Promise<Response> | Response)

Type Parameters

  • Options = any

Type declaration

    • (req, ctx, opts?): Promise<Response> | Response
    • Handler function for app routes.

      Parameters

      Returns Promise<Response> | Response