import { Middleware } from "https://deno.land/x/texa@0.8.1/src/deps.ts";
An object that allows for adding and running middleware.
Properties
readonly
ondiagnostics: Event<[Diagnostics<Callback>]>An event that is fired after all middlewares of this this object has been ran.
Methods
run(...args: Parameters<Callback>): Promise<Diagnostics<Callback>>
Run the middlewares stored on this object.