import { Application } from "https://deno.land/x/oak@v13.1.0/application.ts";
Add an event listener for a "close"
event which occurs when the
application is closed and no longer listening or handling requests.
Parameters
optional
options: boolean | AddEventListenerOptionsAdd an event listener for an "error"
event which occurs when an
un-caught error occurs when processing the middleware or during processing
of the response.
Parameters
listener: ApplicationErrorEventListenerOrEventListenerObject<S, AS> | null
optional
options: boolean | AddEventListenerOptionsAdd an event listener for a "listen"
event which occurs when the server
has successfully opened but before any requests start being processed.
Parameters
optional
options: boolean | AddEventListenerOptions