Open
Description
Currently we have the Stream::for_each_concurrent
, buffer_unordered
, and buffered
, which use FuturesUnordered
to run streams concurrently. Calling the combinators "buffered" is not great for visibility in my experience, and it might be more obvious if they were named concurrent/concurrent_unordered
(or similar) with a limit: Option<usize>
parameter. Or perhaps just introduce concurrent
and make the limit field in buffered
non-optional (undoing #2429). for_each_concurrent
is also trivially implemented as stream.concurrent().for_each(...)
, so it may not be worth having.