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

iex

10/17/2020, 4:16 PM
How do I write
Observable.just
with channels?
w

wasyl

10/17/2020, 4:38 PM
You probably want to use
Flow
and not channels directly, then
flowOf
And for
Observable#create
->
flow { }
i

iex

10/17/2020, 5:48 PM
Ah right,
Flow
is what I'm actually using. Didn't know
flowOf
, thanks!
👍 1
(just resumed an old project and forgot that I'm not using channels :D)
2 Views