Skip to content

basalt / queue/src / JobState

Type Alias: JobState ​

> JobState = "waiting" | "active" | "completed" | "failed" | "delayed"

Defined in: queue/src/driver.ts:51

Driver-neutral job state — deliberately the same vocabulary as QueueStats, so stats() and list() describe the same lifecycle. Backend-specific states are mapped onto these by the driver.

Released under the MIT License.