Differences Between `Effect.gen` and `Effect.fn` Usage in Functions
What's the benefit/difference of returning
I know that you can define spans with
Effect.gen from a plain function over using Effect.fn?I know that you can define spans with
Effect.fn("span")(body) (just as you can with Effect.gen(body).pipe(Effect.withSpan("span")) ...but was wondering if there were any other key benefits/differences?