import { type MiddlewareObject } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/middleware.ts?s=MiddlewareObject";
Middleware objects allow encapsulation of middleware along with the ability to initialize the middleware upon listen.
Properties
optional
init: () => Promise<unknown> | unknown[src]Optional function for delayed initialization which will be called when the application starts listening.