Class Subscribers


  • public class Subscribers
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.function.Consumer<? super java.lang.Throwable> NO_ON_FAILURE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Subscribers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> CancellableSubscriber<T> from​(Context context, java.util.function.Consumer<? super T> onItem, java.util.function.Consumer<? super java.lang.Throwable> onFailure, java.lang.Runnable onCompletion, java.util.function.Consumer<? super org.reactivestreams.Subscription> onSubscription)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NO_ON_FAILURE

        public static final java.util.function.Consumer<? super java.lang.Throwable> NO_ON_FAILURE
    • Constructor Detail

      • Subscribers

        public Subscribers()
    • Method Detail

      • from

        public static <T> CancellableSubscriber<T> from​(Context context,
                                                        java.util.function.Consumer<? super T> onItem,
                                                        java.util.function.Consumer<? super java.lang.Throwable> onFailure,
                                                        java.lang.Runnable onCompletion,
                                                        java.util.function.Consumer<? super org.reactivestreams.Subscription> onSubscription)