These are chat archives for ReactiveX/RxJava

Sep 2015
David Stemmer
Sep 08 2015 19:34
This message was deleted
does anybody know what effect onNext will have on a PublishSubject after PublishSubject#onCompleted has been called?
will the onNext item be emitted, will it fail to be emitted silently, or will the call fail with an exception?
Sep 08 2015 21:06
Try it? If the subject is implemented properly, it should silently ignore the onNext().
onNext [...] The Observable will not call this method again after it calls either Observer.onCompleted() or Observer.onError(java.lang.Throwable).