Module

x/fresh/src/server/types.ts>AsyncRoute

The next-gen web framework.
Extremely Popular
Latest
type alias AsyncRoute
import { type AsyncRoute } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/types.ts";

Type Parameters

optional
T = any
optional
S = Record<string, unknown>
definition: (req: Request, ctx: FreshContext<S, T>) => Promise<ComponentChildren | Response>