View Source WhiteRabbit.Consumer.State (White Rabbit v0.2.0)

Consumer State Struct for WhiteRabbit Consumer GenServers.

This struct is used to store the state of the WhiteRabbit.Consumer GenServers so the callbacks can expect certain structure of items.

Link to this section Summary

Link to this section Types

@type t() :: %WhiteRabbit.Consumer.State{
  backoff_agent_pid: pid(),
  consumer_init_args: WhiteRabbit.Consumer.t(),
  state: %{
    channel: AMQP.Channel.t(),
    queue: String.t(),
    consumer_tag: String.t(),
    processor: WhiteRabbit.Processor.Config.t()
  }
}