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

Add "dynamic" version of `buffer(n)` and `buffer_unordered(n)`

Open ronanM opened this issue 1 year ago • 1 comments

In the "dynamic" versions of buffer(n: usize) and buffer_unordered(n: usize), the number of buffered futures defined by n: usize could be replaced by AsRef<AtomicUsize>, allowing it to change dynamically over time.

ronanM avatar Sep 05 '24 09:09 ronanM