Aller au contenu
Français

ConsumerControllerSettings

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/delivery/ConsumerController.ts:5

T

readonly handler: (body) => void | Promise<void>

Defined in: src/delivery/ConsumerController.ts:11

Invoked for every successfully delivered (un-duplicated) message. The controller Acks AFTER the handler returns — if the handler returns a Promise, the Ack is delayed until it settles.

T

void | Promise<void>