lapin
lapin copied to clipboard
Does consumer.next is cancellation-safe method?
I am trying to use
select! { delivery = consumer.next(), other future => ... }
to fetch new messages. I have tried it, and it worked like a charm.
However, I want to make sure that it is a cancellation-safe method where I won't lose any messages. Thank you.