AMQPHelpers.Adapter.cancel_consume

You're seeing just the callback cancel_consume, go back to AMQPHelpers.Adapter module for more information.
Link to this callback

cancel_consume(channel, consumer_tag, opts)

Specs

cancel_consume(
  channel :: AMQP.Channel.t(),
  consumer_tag :: String.t(),
  opts :: keyword()
) :: {:ok, String.t()} | {:error, term()}

Stops the given consumer from consuming.

See AMQP.Basic.cancel/3.