import { type StatusHandler } from "https://deno.land/x/acorn@0.7.1/router.ts";
The interface too status handlers, which are registered on the
Router
via the .on()
method and intended for being notified of
certain state changes related to routing requests.
Type Parameters
S extends Status
Call Signatures
(): Promise<RouteResponse<unknown> | undefined> | RouteResponse<unknown> | undefined