Class CompositeOnComplete<T>

  • Type Parameters:
    T - the result type
    All Implemented Interfaces:
    scala.Function1<scala.util.Try<T>,​scala.runtime.BoxedUnit>, scala.PartialFunction<scala.util.Try<T>,​scala.runtime.BoxedUnit>

    public abstract class CompositeOnComplete<T>
    extends OnComplete<T>
    An OnComplete implementation that aggrgates other OnComplete tasks.
    Author:
    Thomas Pantelis
    • Constructor Detail

      • CompositeOnComplete

        public CompositeOnComplete()
    • Method Detail

      • addOnComplete

        public void addOnComplete​(OnComplete<T> task)
      • notifyOnCompleteTasks

        protected void notifyOnCompleteTasks​(Throwable failure,
                                             T result)