Skip to main content
Module

x/kvmq/mod.ts>Queue#pause

Library inspired by BullMQ for Deno
Latest
method Queue.prototype.pause
import { Queue } from "https://deno.land/x/kvmq@v0.3.0/mod.ts";

Pauses the processing of this queue.

Sets a paused flag in the database that is checked by workers.

A paused queue will not process new jobs until resumed, but current jobs being processed will continue until they are finalized.

Returns

Promise<void>