Amqpx.Confirm.wait_for_confirms

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

wait_for_confirms(channel)

Specs

wait_for_confirms(Amqpx.Channel.t()) :: boolean() | :timeout

Wait until all messages published since the last call have been either ack'd or nack'd by the broker.

Link to this function

wait_for_confirms(channel, timeout)

Specs

wait_for_confirms(Amqpx.Channel.t(), non_neg_integer()) :: boolean() | :timeout

Wait until all messages published since the last call have been either ack'd or nack'd by the broker, or until timeout elapses.