-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Exit.getOrUndefined, et al. #2705
Comments
Should we really promote skipping handling an |
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 |
whats const val = Effect.runSync(Effect.option(effect))
// const val = await Effect.runPromise(Effect.option(effect))
return Option.getOrUnderfined(val) |
|
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: