Usage of `.pipe` in `Effect.gen` After TS 5.5

Without the adapter in Effect.gen, and the future removal of it thanks to TS 5.5, is the .pipe the preferred method to
yield*
a pipeline like before?

const myEffectGen = Effect.gen(function* () {
    const apiKey = yield* Config.string("MY_ENV_KEY").pipe(Effect.orDie);

    // snip
});
Was this page helpful?