genkitx-temporal
    Preparing search index...

    Interface StartTemporalWorkerOptions

    interface StartTemporalWorkerOptions {
        activities?: Record<string, (...args: unknown[]) => unknown>;
        address?: string;
        namespace?: string;
        taskQueue?: string;
        workerOptions?: Partial<WorkerOptions>;
        workflowsPath?: string;
    }
    Index

    Properties

    activities?: Record<string, (...args: unknown[]) => unknown>

    Additional activities to register alongside the built-in runGenkitFlowActivity.

    address?: string

    host:port of the Temporal Server. Defaults to plugin/env defaults.

    namespace?: string

    Temporal namespace. Defaults to plugin/env defaults.

    taskQueue?: string

    Task queue this worker polls. Defaults to plugin/env defaults.

    workerOptions?: Partial<WorkerOptions>

    Escape hatch for any other WorkerOptions field.

    workflowsPath?: string

    Path to the workflows module. Defaults to the workflows bundled by this package (require.resolve('genkitx-temporal/workflows')).

    Override this if you want to ship your own Workflow definitions in addition to the generic runGenkitFlow workflow.