Cancels the execution of the delayed operation.
Cancels the execution of the delayed operation. Once a Delay is canceled, if additional attempts to cancel will result in undefined behavior
Cancels the underlying promise if it's not already completed
Cancels the underlying promise if it's not already completed
Completes the Promise with a success if the promise is not already completed
Completes the Promise with a success if the promise is not already completed
if it's not already completed
if it's not already completed
a Future view of the timeouts Promise
true if the promise is not completed
(Since version ) see corresponding Javadoc for more information.
A building block for writing your own odelay.Timer. Call
completePromise(_)
with the value of the result of the operation. CallcancelPromise()
to cancel it. To query the current state of the promise, usepromiseIncomplete