Builds an empty CancelablePromise object.
Builds an empty CancelablePromise object.
the type of the value in the promise
is a configurable PaddingStrategy to avoid the false sharing problem
the newly created promise object
Creates a CancelablePromise that's already completed in error.
Creates a CancelablePromise that's already completed in error.
is the error to signal to subscribers
the newly created promise object
Creates an already completed CancelablePromise with the specified result or exception.
Creates an already completed CancelablePromise with the specified result or exception.
is the scala.util.Try result to signal to subscribers
the newly created promise object
Creates a CancelablePromise that's already completed with the given successful result.
Creates a CancelablePromise that's already completed with the given successful result.
is the successful result to signal to subscribers
the newly created promise object