it is possible with simple pipeline? Without addin...
# coroutines
a
it is possible with simple pipeline? Without adding channels and etc
o
a
Thx
g
It's also possible without Flow and Channels
Just chunked, and process each chunk sequentially, do flatMap and inside run 1 coroutine on each item and awaitAll for them
I mean something like this (just change WORKERS_COUNT and check execution time): https://pl.kotl.in/qjzAuOUmO
👍 1
Or it can be extracted to some more generic function: https://pl.kotl.in/_tA6hVRRa
👍 2
a
@gildor yes, this is what I need! Thx