import { type Oak } from "https://deno.land/x/superdeno@4.8.0/test/deps.ts";
const { Middleware } = Oak;
Middleware are functions which are chained together to deal with requests.
Call Signatures
(context: T, next: () => Promise<unknown>): Promise<unknown> | unknown