Skip to main content
Module

x/kvmq/mod.ts>Queue#getAllJobs

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

Returns an array of all jobs in this queue, from front to back.

The jobs are sorted by priority first, then by creation date, ascending.

Returns

Promise<Array<JobEntry<State>>>