Amqpx.Confirm.wait_for_confirms_or_die

You're seeing just the function wait_for_confirms_or_die, go back to Amqpx.Confirm module for more information.
Link to this function

wait_for_confirms_or_die(channel)

Specs

wait_for_confirms_or_die(Amqpx.Channel.t()) :: true

Wait until all messages published since the last call have been either ack'd or nack'd by the broker, or until timeout elapses. If any of the messages were nack'd, the calling process dies.

Link to this function

wait_for_confirms_or_die(channel, timeout)

Specs

wait_for_confirms_or_die(Amqpx.Channel.t(), non_neg_integer()) :: true