Amqpx.Confirm.register_return_handler

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

register_return_handler(channel, handler_pid)

Specs

register_return_handler(Amqpx.Channel.t(), pid()) :: :ok

This registers a handler to deal with returned messages.