-
Notifications
You must be signed in to change notification settings - Fork 340
Add Future::timeout #564
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
Comments
I like to take this if no one is working on it. |
@miker1423 Go for it :) |
Sorry for the absence. |
Here is the implementation miker1423@c1f7be5, I know the docs are incomplete, I just wrote to take away the warning. Is this what was expected? |
@miker1423 yeah that's in the right direction. I don't believe the pub modifiers are needed; |
This should be closed with the merged PR #600, thanks! |
Similar to
future::timeout
andStream::timeout
we should add aFuture::timeout
method.We already have
Future::delay
, and timeout would be a great counterpart. This is similar to stdlib'smax
which is both an inherent method and a free function. Thanks!The text was updated successfully, but these errors were encountered: