Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
variable router
import { router } from "https://deno.land/x/darkflare@v6.0.1/cli/build/code/router.ts";

type

(
configuration: DarkflareConfiguration,
routes: [number, string, Route][],
request: Request,
env: unknown,
context: { [key: string]: unknown; waitUntil: (promise: Promise<unknown>) => void; },
) => unknown