Handling Errors with `Effect.async` in Effect Typescript

Hi, I have a small quesion about Effect.async:
1. When you do resume(Effect.fail([ANY_CUSTOM_YIELDABLE_ERROR])), it seems to be
wrapping the error inside Cause. It there a way to disable this behavior and just return the
provided yieldable error?
2. If you remove Effect.fail and just do resume(your_error) the result seems to be the same (wrapped in Cause)

Repro:
https://effect.website/play/#9e627335f32f
Was this page helpful?