nestjs-temporal-core
    Preparing search index...

    Class TemporalWorkerManagerService

    Temporal Worker Manager Service

    Manages the lifecycle of Temporal workers including:

    • Worker initialization and configuration (single or multiple workers)
    • Activity discovery and registration
    • Worker health monitoring
    • Graceful shutdown handling with timeout protection
    • Support for multiple task queues
    • Proper process signal handling (SIGTERM/SIGINT)

    Implements

    • OnModuleInit
    • OnModuleDestroy
    • OnApplicationBootstrap
    • BeforeApplicationShutdown
    Index

    Constructors

    Methods

    • BeforeApplicationShutdown lifecycle hook Initiates graceful shutdown before the application fully shuts down This ensures workers have time to complete in-flight tasks

      Parameters

      • Optionalsignal: string

      Returns Promise<void>