Closed stepancheg closed 6 months ago
scope_and_collect function uses FuturesUnordered under the hood, so it returns futures in no order.
scope_and_collect
FuturesUnordered
Unordered makes sense when we handle stream, but in collect operation it makes little sense and add complexity on caller side.
collect
(Also scope_and_collect does not document that it returns results unordered).
This has been fixed in master, and should be released soon.
Done in 0.9.0
scope_and_collect
function usesFuturesUnordered
under the hood, so it returns futures in no order.Unordered makes sense when we handle stream, but in
collect
operation it makes little sense and add complexity on caller side.(Also
scope_and_collect
does not document that it returns results unordered).