You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we really promote skipping handling an Exit like that when the alternative is to opt-into an Option / Either instead of an exit to begin with? 🤔
We probably shouldn't promote it but the api should probably be consistent with Either. I have a bit of an edge case where I have to run Effect.runExit() and then return undefined if the effect fails.
Effect.runPromiseExit sorry. There are plenty of ways to achieve the same result. I just think that Exit should probably have a similarly complete set of getX fns as Either.
What is the problem this feature would solve?
The Exit module is missing getOrUndefined, getOrNull, etc. These should probably be updated to match the Either module.
What is the feature you are proposing to solve the problem?
^
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: