method Queue.prototype.ack
Queue.prototype.ack(
queue: string,
...ids: string[],
): Task<void, QueueAckFailed>

Acknowledge one or more messages as successfully processed.

Examples

Example 1

await queue.ack("notifications", msg1.id, msg2.id, msg3.id).run();

Parameters

queue: string
...ids: string[]

Return Type

Usage

import { Queue } from ".";