lapin icon indicating copy to clipboard operation
lapin copied to clipboard

Does consumer.next is cancellation-safe method?

Open henry42 opened this issue 1 year ago • 2 comments

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.

henry42 avatar Jan 29 '24 03:01 henry42