import { type Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.unstable.d.ts";
const { ServeOptions } = Deno;
UNSTABLE: New API, yet to be vetted.
Options which can be set when calling Deno.serve
.
Properties
optional
signal: AbortSignalAn AbortSignal
to close the server and all connections.
The handler to invoke when route handlers throw an error.