nestjs-temporal-core
    Preparing search index...

    Interface WorkerStatus

    Detailed status information about the Temporal worker. Provides runtime metrics and health indicators.

    const workerStatus = temporalService.getWorkerStatus();
    if (!workerStatus.isHealthy) {
    console.error(`Worker error: ${workerStatus.lastError}`);
    await temporalService.restartWorker();
    }
    interface WorkerStatus {
        activitiesCount: number;
        isHealthy: boolean;
        isInitialized: boolean;
        isRunning: boolean;
        lastError?: string;
        namespace: string;
        startedAt?: Date;
        taskQueue: string;
        uptime?: number;
        workflowsCount?: number;
        workflowSource: "bundle" | "filesystem" | "registered" | "none";
    }
    Index

    Properties

    activitiesCount: number
    isHealthy: boolean
    isInitialized: boolean
    isRunning: boolean
    lastError?: string
    namespace: string
    startedAt?: Date
    taskQueue: string
    uptime?: number
    workflowsCount?: number
    workflowSource: "bundle" | "filesystem" | "registered" | "none"