Amqpx.Confirm.register_confirm_handler
You're seeing just the function
register_confirm_handler
, go back to Amqpx.Confirm module for more information.
Link to this function
register_confirm_handler(channel, handler_pid)
Specs
register_confirm_handler(Amqpx.Channel.t(), pid()) :: :ok
This registers a handler for confirms on channel. The handler will receive either:
{:basic_ack, seqno, multiple}
{:basic_nack, seqno, multiple}
The seqno
(delivery_tag) is an integer, the sequence number of the message.
multiple
is a boolean, when true
means multiple messages confirm, upto seqno
.
see https://www.rabbitmq.com/confirms.html