nestjs-temporal-core
    Preparing search index...

    Interface CreateWorkerResult

    Result of creating a new worker dynamically.

    const result = await temporalService.createWorker({
    taskQueue: 'new-queue',
    workflowsPath: './dist/workflows',
    autoStart: true
    });
    if (result.success) {
    console.log(`Worker created for queue: ${result.taskQueue}`);
    }
    interface CreateWorkerResult {
        error?: Error;
        success: boolean;
        taskQueue: string;
        worker?: Worker;
    }
    Index

    Properties

    error?: Error
    success: boolean
    taskQueue: string
    worker?: Worker