Misleading Documentation on Generators

Hi, I think there is a mistake here: https://effect.website/docs/guides/essentials/using-generators the text explains how to use the _ function in generators but the example under it then doesn’t use the function
Explore the syntax of using generators in Effect to write effectful code. Learn about the Effect.gen function. Compare Effect.gen with async/await for writing asynchronous code. Understand how generators enhance control flow, handle errors, and utilize short-circuiting in effectful programs. Discover passing references to this in gener...
Using Generators in Effect – Effect Docs
Was this page helpful?