WhiteRabbit.Consumer.register_consumer

You're seeing just the function register_consumer, go back to WhiteRabbit.Consumer module for more information.
Link to this function

register_consumer(pid, active_channel, args)

View Source

Register process as consumer.

Returns {:ok, %{channel: active_channel, consumer_tag: consumer_tag}} if succesful.

Monitors the active AMQP Channel process pid to allow parent process to handle incoming :DOWN messages.

Sets the prefetch_count for the given connection as well.