method QueueAdapter.ack
QueueAdapter.ack(
queue: string,
...ids: string[]
): Promise<void>

Acknowledge that one or more messages have been successfully processed. The broker should remove these messages from the queue.

Parameters

queue: string

Name of the queue.

...ids: string[]

Return Type

Promise<void>

Usage

import { type QueueAdapter } from ".";