ReadonlychannelChannel this consumer is attached to.
ProtectedclosedProtected OptionalclosedReadonlyonCallback invoked for each delivered message.
ReadonlytagServer-assigned consumer tag.
Get an AsyncGenerator for consuming messages.
An AsyncGenerator that yields messages
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. Safe to call multiple times — concurrent calls share the same underlying wire operation.
Wait for the consumer to finish.
Optionaltimeout: 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