@whi/cf-routing - v0.2.0
    Preparing search index...

    Type Alias DurableObjectMiddleware<P>

    DurableObjectMiddleware: (request: Request, params: P) => Promise<void> | void

    Middleware function type for DurableObjectRouter

    Type Parameters

    Type Declaration

      • (request: Request, params: P): Promise<void> | void
      • Parameters

        • request: Request
        • params: P

        Returns Promise<void> | void