-
Notifications
You must be signed in to change notification settings - Fork 656
Open
Labels
Description
I would like to have something like FuturesUnordered
but where the collection behaves more like a HashMap
(so that I can easily look up a future by its key instead of using .iter().find()
etc). Has this been considered and if so, is there any reason this doesn't exist?
I guess there is a good reason why the following also doesn't exist, but it would be awesome if somehow FuturesOrdered
and FutureUnordered
could have been traits that were automatically implemented for any collection where the stored type implements Future
.
rakanalh, mxinden, albinsuresh, mitinarseny, Sushisource and 7 more