Join Slack
Powered by
Hi, I am trying to call a suspend function from rx...
# coroutines
r
Rak
11/16/2021, 11:28 PM
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
Nick Allen
11/16/2021, 11:33 PM
Replace
GlobalScope.rxSingle
with
rxSingle
.
🙌 1
7
Views
Open in Slack
Previous
Next