The future that is being bound to a deadline.
Returns a future that completes with the result of self when it completes or with a DeadlineException after
duration elapses, whichever comes first.
Returns a future that completes with the result of self when it completes or with a DeadlineException after
duration elapses, whichever comes first.
The time limit that the supplied future must complete in.
The execution context to perform asynchronous operations on.
The clock to use for scheduling the deadline notification.
Extends the
Futuretype with the ability to apply a deadline.The underlying type of the wrapped future.