Interface JobCall
interface JobCall {
attempt: number;
id: number;
kind: string;
maxAttempts: number;
maxStalledCount: number;
payload: any;
stalledCount: number;
}
attempt: number;
id: number;
kind: string;
maxAttempts: number;
maxStalledCount: number;
payload: any;
stalledCount: number;
}
Index
Properties
Properties
attempt
attempt: number
id
id: number
kind
kind: string
maxAttempts
maxAttempts: number
maxStalledCount
maxStalledCount: number
payload
payload: any
stalledCount
stalledCount: number
Number of times this row has been rescued from a stalled (worker-lost)
state. > 0 means a prior worker died mid-handler. Distinct from
attempt, which counts completed handler invocations. Handlers can
branch on this to resume from a checkpoint instead of replaying.
Argument passed to a JS worker handler. The payload is whatever JSON was enqueued; the other fields are the
JobContextflattened so handlers can destructure{ payload, id, kind, attempt, maxAttempts }.