© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Difference Between `return` and `return yield*` in Generators - Effect Community
EC
Effect Community
•
2y ago
nl7
Difference Between `return` and `return yield*` in Generators
is there a difference between
return
return
and
return yield*
return yield*
at the end of a generator
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
When to Use Yield Effect Wrapping in Generators
EC
Effect Community / 🚀-beginners
2y ago
Interaction between generators and type narrowing
EC
Effect Community / 🚀-beginners
3y ago
Understanding the use of yield* with functions in generators
EC
Effect Community / 🚀-beginners
5mo ago
Difference between Record and Struct
EC
Effect Community / 🚀-beginners
2y ago