Handling Unhandled Failures in Long Running Effects
What's a good way to deal with potential "unhandled failures" when forking long running effects? I have several places where I fork effects that wait for values from a Stream for the entire life of the app (like auth uid change from an external lib). If there's a failure in one of these forked effects it's a silent failure unless I ensure that I tap/catch error because I never join them to check the exit value. Is there any way to at least warn when this happens? It's somewhat similar to an unhandled promise rejection. Example:
If you remove the
If you remove the
tapErrorCause you'd never know that the forked effect failed.