Optionaloptions: JobOptionsCancel a running job: at once (the default, 0 or, as on 2.9.10, a negative value
or NaN), or after gracePeriodMs (a numeric string is that number). Throws a
RangeError for Infinity (2.9.10 cancelled after ~1 ms) and a TypeError for another
non-number; any finite grace is honoured, even beyond 24.8 days.
OptionalgracePeriodMs: numberOptionaldata: TOptionaloptions: { jobOpts?: JobOptions; limit?: number; timezone?: string }Optionaldata: TOptionaloptions: { jobOpts?: JobOptions; limit?: number }Optionalid: stringOptionalid: stringOptionalduration: numberOptionalduration: number
Simplified all-in-one Queue and Worker façade.