method RabbitMqQueue.prototype.ack
Since 0.1.0
RabbitMqQueue.prototype.ack(
name: string,
id: string,
_claimToken?: string
): Promise<void>

Acknowledges a job as successfully processed.

Parameters

name: string

Job name

id: string

Job ID (stable public identity)

optional
_claimToken: string

Return Type

Promise<void>

Resolves when acknowledged

Throws

Error

If the adapter is not connected

Usage

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