If I want to reproduce the behavior of Rx PublishS...
# coroutines
v
If I want to reproduce the behavior of Rx PublishSubject by using a ConflatedChannel. Should I be using the
offer
or
send
function to send a value to the channel and why?
z
For
ConflatedChannel
,
offer
and
send
have the same behavior (i.e.
send
will never suspend). Usually
offer
is the only one you can actually use because you’re sending from a non-suspending method.
v
thx