Skip to content

amqpx v1.0.1


amqpx / index / BatchConsumerCallbackArgs

Type Alias: BatchConsumerCallbackArgs<Message, AdditionalProperties>

BatchConsumerCallbackArgs<Message, AdditionalProperties> = object

Defined in: src/consumer/types.ts:64

Arguments passed to a batch consumer callback. Contains the channel and an array of message entries, each holding the parsed payload, the raw amqplib message, and any additional properties added by the consumer implementation.

Type Parameters

Type ParameterDefault type
Message-
AdditionalPropertiesRecord<string, unknown>

Properties

PropertyTypeDefined in
channelChannelsrc/consumer/types.ts:65
messagesobject & AdditionalProperties[]src/consumer/types.ts:66

Released under the MIT License.