Hi everyone!! Please tell me. Can Rx execute paral...
# rx
m
Hi everyone!! Please tell me. Can Rx execute parallel processing like awaitAll of Kotlin coroutine? I think it is similar to "zip" but it can't use List<T>. I'm waiting for messages. thanks.
z
The
merge
or
flatMap
operators are probably the closest to
awaitAll
.
m
Thank you:)
u
I'd say combineLatest().take(1)
zip is fine as well, just take 1 it
and subscribe each observable on "its own" io scheduler, then youll get parallelism
p
There is also parallel flowable, but without it you have flatmap, additionally with Max concurrency parameter