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

    Interface JobConfig

    One job in a queue. Mirrors pkg/queue.JobConfig (the fields we model).

    interface JobConfig {
        command: string;
        dependsOn?: string[];
        env?: Record<string, string>;
        jobId: string;
        launch?: Partial<LaunchInput>;
        retry?: RetryConfig;
        timeout: string;
    }
    Index
    command: string

    The command the job would run on-box. Recorded as a spawn:command tag.

    dependsOn?: string[]
    env?: Record<string, string>
    jobId: string
    launch?: Partial<LaunchInput>

    Launch overrides for this job's instance (type/region/spot/…).

    retry?: RetryConfig
    timeout: string

    Per-job timeout (Go duration) — becomes the instance's TTL backstop.