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 Unordered::remove(index) -> F #26

Open
loyd opened this issue Feb 12, 2023 · 1 comment
Open

Add Unordered::remove(index) -> F #26

loyd opened this issue Feb 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@loyd
Copy link
Contributor

loyd commented Feb 12, 2023

Hello, thanks for the great crate.

It would be nice to have a cheap way to remove futures/streams from the collection. futures::stream::Abortable can be used here, but it adds extra AtomicWaker and additional allocation. I believe, it can be implemented more efficiently in unicycle.

@udoprog udoprog added the enhancement New feature or request label Feb 12, 2023
@udoprog
Copy link
Owner

udoprog commented Feb 12, 2023

It would be a nice addition!

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

No branches or pull requests

2 participants