monifu.reactive.internals

FutureAckExtensions

implicit final class FutureAckExtensions extends AnyVal

Internal extensions to Future[Ack] used in the implementation of Observable.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FutureAckExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FutureAckExtensions(source: Future[Ack])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. def ifCancelTryCanceling(p: Promise[Ack])(implicit s: Scheduler): Future[Ack]

    On Cancel, try to trigger Cancel on the given Promise.

  7. def ifCanceledDoCancel(p: Promise[Ack])(implicit s: Scheduler): Future[Ack]

    On Cancel, try to trigger Cancel on the given Promise.

  8. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  9. def onCancel(cb: ⇒ Unit)(implicit s: Scheduler): Future[Ack]

    Triggers execution of the given callback, once the source terminates either with a Cancel or with a failure.

  10. def onCancelContinue(p: Promise[Ack])(implicit s: Scheduler): Future[Ack]

    On Cancel, triggers Continue on the given Promise.

  11. def onCompleteNow(f: (Try[Ack]) ⇒ Unit)(implicit s: Scheduler): Future[Ack]

    Unsafe version of onComplete that triggers execution synchronously in case the source is already completed.

  12. def onContinue(cb: ⇒ Unit)(implicit s: Scheduler): Unit

    On Continue, triggers the execution of the given callback.

  13. def onContinueComplete[T](observer: Observer[T], ex: Throwable = null)(implicit s: Scheduler): Unit

  14. def onContinueCompleteWith[T](observer: Observer[T], lastElem: T)(implicit s: Scheduler): Unit

  15. def onContinueStreamOnNext[T](observer: Observer[T], nextElem: T)(implicit s: Scheduler): Future[Ack]

  16. def onErrorCancelStream[T](downstream: Observer[T], isDone: AtomicBoolean)(implicit scheduler: Scheduler): Future[Ack]

    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.

  17. val source: Future[Ack]

  18. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped