futures-rs icon indicating copy to clipboard operation
futures-rs copied to clipboard

Add try join all chunked

Open saood06 opened this issue 3 years ago • 2 comments

Added a chunked version of try join all.

Drives at most n Futures at a time, and then will return once all are completed, or returns early if any error just like try join all.

saood06 avatar Mar 30 '22 05:03 saood06

Thanks for the PR! What are the advantages of this over try_buffer_unordered and try_buffered?

taiki-e avatar Jun 05 '22 03:06 taiki-e

Thanks for the PR! What are the advantages of this over try_buffer_unordered and try_buffered?

Sorry, I did not know they existed, they do seem to handle the use case I thought this covered.

saood06 avatar Jun 05 '22 05:06 saood06

If it is covered by an existing API, I'm going to close this in favor of that.

Thanks anyway for the PR!

taiki-e avatar Aug 21 '22 06:08 taiki-e