https://kotlinlang.org logo
#coroutines
Title
# coroutines
k

kenkyee

03/12/2017, 11:15 AM
How would you do callback bridging with coroutines? It's fairly common to do something like that to convert listeners to Observables in Rx
e

elizarov

03/12/2017, 1:23 PM
It depends on what kind of callback is that. Is it a request completion callback or a callback that is producing some stream of events?
k

kenkyee

03/12/2017, 2:23 PM
Missed the discussion recently apparently ☺️ Stream of events so that sounds like channels would work.
2 Views