Class WriteStreamSubscriber<R>

    • Constructor Detail

      • WriteStreamSubscriber

        public WriteStreamSubscriber()
    • Method Detail

      • onWriteStreamEnd

        public abstract WriteStreamSubscriber<R> onWriteStreamEnd​(Action0 handler)
        Sets the handler to invoke when the adapted WriteStream ends successfully.
        Returns:
        a reference to this, so the API can be used fluently
      • onWriteStreamEndError

        public abstract WriteStreamSubscriber<R> onWriteStreamEndError​(Action1<Throwable> handler)
        Sets the handler to invoke when the adapted WriteStream ends with an error.
        Returns:
        a reference to this, so the API can be used fluently