Is the order preserved in a Flow? Is there a way t...
# coroutines
c
Is the order preserved in a Flow? Is there a way to tell it to run lambdas (
map
, etc) in parallel and send elements as soon as possible, even if the order is lost?
d
flatMapMerge
? Order is indeed preserved by default.
c
Is there an option to say I don't care about the order?
d
Maybe I should rewrite that. Order is preserved in a
Flow
since they are sequential. The
flatMapMerge
operator "breaks" this rule because it does not preserve the order.
c
Oh, thanks 👍