Optionalopts: JobOptionsOptional_keepLogs: numberOptionaltype: stringOptionaltype: stringOptionalkeepLogs: numberDrain this queue's jobs to a remote bunqueue server (store-and-forward). Typical edge pattern: embedded local queue as offline buffer, forwarded to a central server over TCP/TLS. Remote failures leave jobs local (retry → DLQ) — nothing is lost while the uplink is down. Forwarded jobs carry a deterministic remote jobId so re-forwards never duplicate.
Optionaltype: "processed" | "unprocessed"Optionalstart: numberOptionalend: numberOptionalopts: GetDependenciesOptsOptionalopts: GetDependenciesOptsOptionalstart: numberOptionalend: numberOptionalasc: booleanOptionalmaxJobs: numberOptionaltoken: stringOptionaltoken: stringOptionaltoken: stringOptionaltoken: stringOptionalopts: { count?: number }Optionalid: stringOptionalid: stringOptionalid: stringOptionalid: stringOptionalduration: numberOptionalduration: numberOptionaljobTemplate: JobTemplate<T>Optionalttl: number
Queue class for adding and managing jobs