CountDownLatch::wait
should return WaitFuture
rather than impl Future<Output = ()>
#5
Labels
enhancement
New feature or request
Currently
CountDownLatch::wait
is defined as:Unfortunately, I need to put this future in a struct and currently that requires using unstable to use an impl type alias. It would be much easier (with no loss of functionality) if this method were instead defined as:
And
WaitFuture
madepub
so that it can be used as a named type.The text was updated successfully, but these errors were encountered: