Amqpx.Basic.qos

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

qos(channel, options \\ [])

Specs

qos(Amqpx.Channel.t(), keyword()) :: :ok | error()

Sets the message prefetch count or prefetech size (in bytes).

Options

  • :prefetch_size - the prefetch size (in bytes). Defaults to 0.
  • :prefetch_count - the prefetch count. Defaults to 0.
  • :global - If set, this applies to the entire Connection, otherwise it applies only to the given Channel. Defaults to false.