Skip to content

AddOptions

Options of one add(). dedupe is required.

readonly dedupe: Dedupe

dedupe.window(key, ttl), dedupe.until(key), dedupe.debounce(key, wait) or dedupe.none().


readonly optional delay?: Duration

Run the job no earlier than this from now. Not allowed with dedupe.debounce, which sets its own.


readonly optional priority?: number

BullMQ priority (1 is highest). Leave it out for normal work: prioritised jobs wait behind unprioritised ones.