method RabbitMQAdapter.prototype.sendBatch
RabbitMQAdapter.prototype.sendBatch<T>(
queue: string,
data: T[],
options?: SendOptions
): Promise<string[]>

Sends multiple messages to a queue in a batch.

Type Parameters

Parameters

queue: string
data: T[]
optional
options: SendOptions

Return Type

Promise<string[]>

Usage

import { RabbitMQAdapter } from ".";