Closed bananaappletw closed 8 years ago
yield* next -> yield next
yield* next
yield next
I think when they wrote example, they did it by accident.
The following lines are from jongleberry's article yield next vs. yield* next
Although we Koa uses it internally for "free" performance, we don't advocate it to avoid confusion.
Also wiki mentioned it on error handling.
Good catch.
yield* next
->yield next
I think when they wrote example, they did it by accident.
The following lines are from jongleberry's article yield next vs. yield* next
Also wiki mentioned it on error handling.