the consumer is created on
consumer tag
callback executed when a message arrive
Cancel/abort/stop the consumer. No more messages will be deliviered to the consumer. Note that any unacked messages are still unacked as they belong to the channel and not the consumer.
Wait for the consumer to finish.
Optional
timeout: numberwait for this many milliseconds and then return regardless
Fulfilled when the consumer/channel/connection is closed by the client. Rejected if the timeout is hit.
A consumer, subscribed to a queue