Click in order · NestJS course · Module 6: Error Handling and Monitoring
Activating Shutdown Hooks in main.ts
Arrange the code for activating shutdown hooks in main.ts
Items to click
- await app.listen(3000);
- app.enableShutdownHooks();
- const app = await NestFactory.create(AppModule);
You can check the correct answer by solving this task in the CodeWorlds game.