system.reactive - Rx: get first item, but throw exception when the second item arrives -
using rx observable stream, there effective way first item, complete source observable, throw exception if second item arrives? sounds not situation use rx for, there clever way handle it?
as far understand, violation of iobservable contract, specifies no items should arrive after either error or complete. basically, checking situation cannot (or should not) arise.
Comments
Post a Comment