simple one for y'all.. I have a bounded blocking q...
# coroutines
t
simple one for y'all.. I have a bounded blocking queue. So
offer
will be blocking. I the right way to offer to this queue is with
runInterruptibe
?
o
is this a like java
BlockingQueue
? if so, are you `offer`ing from a coroutine here?
t
yup
I want my coroutine to block on a
offer
block
o
don't forget to switch to IO dispatcher
t
Thanks. That's what I figured.
Just good to get confirmations