spawn-ts API reference - v0.6.0
    Preparing search index...

    Interface QueueConfig

    A batch job queue configuration. Mirrors pkg/queue.QueueConfig.

    interface QueueConfig {
        defaults?: Partial<LaunchInput>;
        globalTimeout?: string;
        jobs: JobConfig[];
        onFailure?: OnFailure;
        queueId?: string;
        queueName?: string;
    }
    Index
    defaults?: Partial<LaunchInput>

    Default launch config applied to every job unless the job overrides it.

    globalTimeout?: string

    Whole-queue timeout (Go duration); a per-job TTL fallback.

    jobs: JobConfig[]
    onFailure?: OnFailure

    "stop" halts launching after any job's terminal failure; "continue" default.

    queueId?: string
    queueName?: string