cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

SimpleReactStream does not capture errors unless block() is called

Open johnmcclean opened this issue 10 years ago • 4 comments

Needs a non-blocking terminal operation to collate errors safely inside run().

Releated to https://github.com/aol/cyclops-react/issues/173

johnmcclean avatar Mar 23 '16 15:03 johnmcclean

Ohhhhhh. Interesting! :D

schoberwirt avatar Mar 23 '16 15:03 schoberwirt

Yeah, forcing users to use run() or block() is a bad solution too. Fixing it so that capture is automatically applied only once to SimpleReactStreams.

johnmcclean avatar Mar 23 '16 16:03 johnmcclean

I've added a non-blocking run() method that collate errors for SimpleReact streams.

It's proving pretty complex to do this automatically without such a method, I think we should release the run() fix in 1.0.0-RC2.3 and revist in future releases.

johnmcclean avatar Mar 25 '16 22:03 johnmcclean

Released in 1.0.0-RC2.3

@schoberwirt Thanks for reporting this issue, do let me know if you still see it (i.e. it's caused by something other than the two issues logged).

johnmcclean avatar Mar 27 '16 21:03 johnmcclean