Closed
Description
Similar to future::timeout
and Stream::timeout
we should add a Future::timeout
method.
We already have Future::delay
, and timeout would be a great counterpart. This is similar to stdlib's max
which is both an inherent method and a free function. Thanks!