Missing StreamExt::for_each_concurrent
andrewbanchich opened this issue · comments
I'm moving from futures
to futures-lite
but noticed this is missing StreamExt::for_each_concurrent
.
Any progress on this?
You can effectively recreate the for_each_concurrent
combinator by spawning each future into an executor, collecting those task handles into a list and then polling those task handles. This is the recommended solution, especially since the futures
implementation has footguns in it.