method MemoryQueue.prototype.depths
Since 0.3.0
MemoryQueue.prototype.depths(name: string): Promise<QueueDepths>

M70k (X8-4): counts this name's three states. Free for an in-process store, so there is no reason to omit it.

Parameters

name: string

Job name

Return Type

Promise<QueueDepths>

The depth of each state

Usage

import { MemoryQueue } from "queue-plugin/src/index.ts";