Join Slack
Communities
Powered by
Send the messages via a coroutine channel. Instead...
# coroutines
u
uli
11/15/2017, 8:18 PM
Send the messages via a coroutine channel. Instead of concurrent queues. The channel can be limited in size and will suspend your coroutine until more space becomes available. No blocking, no sleep, no delay:
https://github.com/Kotlin/kotlinx.coroutines/blob/master/coroutines-guide.md#channels
3
Views
Open in Slack
Previous
Next