Builder for a CancelableFuture.
Builder for a CancelableFuture.
N.B. The behavior on cancelable.cancel()
should be for the underlying
future to be failed with scala.concurrent.CancellationException
.
Also, canceling an already complete future should do nothing.
is an underlying Future
reference that will respond to onComplete
calls
is a Cancelable that can be used to cancel the active computation
and that will complete the future with a CancellationException