Hi, I am trying to call a suspend function from rx...
# coroutines
r
Hi, I am trying to call a suspend function from rxjava but I can’t seem to get it to work. I have imported
rg.jetbrains.kotlinx:kotlinx-coroutines-rx2:1.5.2
and tried to use GlobalScope.rxSingle but that method is not available on GlobalScope.
n
Replace
GlobalScope.rxSingle
with
rxSingle
.
🙌 1