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

    Interface JobArrayMembership

    A launch's membership in a job array. Serialized to the spawn:job-array-* tags the Go tool writes; the instance's spored surfaces index as the JOB_ARRAY_INDEX env var so the workload knows which slice it is.

    interface JobArrayMembership {
        id: string;
        index: number;
        name: string;
        size: number;
    }
    Index
    id: string
    index: number

    0-based index of this member within the array.

    name: string
    size: number

    Total members in the array.