DEV Community

Discussion on: 3 use cases for ES6 generators

chakrihacker profile image
Subramanya Chakravarthy

Awesome 👌
Now I have to lookup yield and yield* differences

crongm profile image
Carlos Garcia ★

yield* delegates to the generator that follows up the declaration, so that the next value that is provided comes from the nested generator instead of the main/outer one.