© 2026 Hedgehog Software, LLC
Effect.fn
const myFunc = Effect.fn('myFunc')(function* () { // do it }); const x = yield* myFunc(); // vs const myFunc = Effect.gen(function* () { // do it }).pipe(Effect.withSpan('myFunc')); const x = yield* myFunc;