A somewhat trivial question but i couldn’t find a ...
# coroutines
p
A somewhat trivial question but i couldn’t find a straightforward answer by googling; what’s the best way to convert one of the many Rx / Reactive types to a coroutine? Things like
Single
,
Flowable
etc
g
p
i see; so just add the extension function and call
await
?
g
yes
p
cool thanks! and are there different packages for rx3 and reactivex ?
neat looks like yes!
actually still can’t seem to figure out a way to await on
io.reactivex.Single
@Guillermo Alcantara the conversions only allow from Publisher