Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "dynamic" version of buffer(n) and buffer_unordered(n) #2882

Open
ronanM opened this issue Sep 5, 2024 · 1 comment
Open

Add "dynamic" version of buffer(n) and buffer_unordered(n) #2882

ronanM opened this issue Sep 5, 2024 · 1 comment

Comments

@ronanM
Copy link

ronanM commented Sep 5, 2024

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 ronanM changed the title Add "dynamic parallelism" version of buffer(n) and buffer_unordered(n) Add "dynamic" version of buffer(n) and buffer_unordered(n) Sep 5, 2024
@taiki-e
Copy link
Member

taiki-e commented Sep 6, 2024

Related: #1956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants