Class ErrorStreamPair<T>


  • public abstract class ErrorStreamPair<T>
    extends java.lang.Object
    • Constructor Detail

      • ErrorStreamPair

        public ErrorStreamPair()
    • Method Detail

      • data

        public abstract org.reactivestreams.Publisher<T> data()
      • error

        public abstract org.reactivestreams.Publisher<java.lang.Throwable> error()
      • isPresent

        public abstract boolean isPresent()
      • ofDataError

        public static final <T> ErrorStreamPair<T> ofDataError​(org.reactivestreams.Publisher<T> dataStream,
                                                               org.reactivestreams.Publisher<java.lang.Throwable> errorStream)
      • ofData

        public static final <T> ErrorStreamPair<T> ofData​(org.reactivestreams.Publisher<T> dataStream)