Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/example/lifecycle/app.controller.ts>AppController

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
import { AppController } from "https://deno.land/x/deno_nest@v3.15.1/example/lifecycle/app.controller.ts";

Constructors

new
AppController(appService: AppService)

Methods

beforeApplicationShutdown(signal?: string): void | Promise<void>
onApplicationShutdown(signal?: string)
onModuleDestroy(): void | Promise<void>
onModuleInit(): void | Promise<void>