Main Temporal module for NestJS applications.
This module provides:
IMPORTANT: To ensure graceful worker shutdown, you must call app.enableShutdownHooks() in your main.ts file after creating the NestJS application:
async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableShutdownHooks(); // Required for graceful worker shutdown await app.listen(3000);} Copy
async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableShutdownHooks(); // Required for graceful worker shutdown await app.listen(3000);}
Static
Main Temporal module for NestJS applications.
This module provides:
IMPORTANT: To ensure graceful worker shutdown, you must call app.enableShutdownHooks() in your main.ts file after creating the NestJS application:
Example