Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Observable `concatMap` / `mapTask` trigger invalid state warning on `raiseError` children #335
The context of this is that I have a flatMap on an Observable where under specific circumstances i return an Observable.raiseError(CustomException) to trigger an error on the observable and therefore have it shut down.
This is only for the scenario where i know i need to stop the stream and i know what is wrong vs an unforeseeable pop-thru-the-stack exception.
My exception is "TimeoutError" and when i provide this to raiseError inside a flatMap I get the following:
@hrlqn sorry about this, the
Unfortunately you've hit a branch that I couldn't predict and that wasn't caught in testing. It doesn't do much, other than complaining and stopping the source and if an error happens the source gets stopped anyway.
I will issue a fix and will trigger a release either today or tomorrow, since I have another bug fix that needs to be released.
Sorry about the incovenience and thanks for reporting it