import { Application } from "https://deno.land/x/deno_nest@v3.5.1/mod.ts";
Constructors
Properties
Methods
TODO: think about whether to use Promise.all or a for loop
TODO: think about whether to use Promise.all or a for loop
add controller
Close the application.
Enables the usage of shutdown hooks. Will call the
onApplicationShutdown
function of a provider if the
process receives a shutdown signal.
Only give a simple quick start example here, not recommended to use it for complex functions.
Because it is not subject to the overall framework process framework and is not associated with guards, interceptors, filters, etc.
Its execution order with middleware is also not guaranteed by the framework, for example, oak middleware will be executed first, but the hono may see the order get
and middlewares.
Sets custom logger service.
use the origin middleware, not recommend to use if you don't know what you are doing.
Sets a base directory for public assets.