On Cancel, try to trigger Cancel on the given Promise.
On Cancel, try to trigger Cancel on the given Promise.
Triggers execution of the given callback, once the source terminates either
with a Cancel
or with a failure.
On Cancel, triggers Continue on the given Promise.
Unsafe version of onComplete
that triggers execution synchronously
in case the source is already completed.
On Continue, triggers the execution of the given callback.
Utility used in monifu.reactive.observers.SafeObserver.onNext for
handling errors in onNext
.
Utility used in monifu.reactive.observers.SafeObserver.onNext for
handling errors in onNext
. Avoids submitting tasks to the pool in case the
future is already complete and we can thus determine if it's a failure,
in which case we only need to cancel the stream and report the error.
Internal extensions to Future[Ack] used in the implementation of Observable.