nestjs-temporal-core
    Preparing search index...

    Class TemporalModule

    Main Temporal module for NestJS applications.

    This module provides:

    • Temporal client connection management with connection pooling
    • Worker creation and lifecycle management
    • Activity and workflow discovery
    • Schedule management
    • Comprehensive logging and error handling
    • Graceful degradation and fault tolerance
    • Automatic shutdown hook registration for graceful termination (call app.enableShutdownHooks())

    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);
    }
    Index

    Constructors

    Methods

    Constructors

    Methods