[链接] TJ 的文章 Callbacks vs Coroutines
发布于 11 年前 作者 jiyinyiyong 3670 次浏览 最后一次编辑是 8 年前

https://medium.com/code-adventures/174f1fe66127

There’s been a lot of arguing lately regarding a somewhat recent Google V8 patch providing the ES6 generators, sparked by “A Study on Solving Callbacks with JavaScript Generators”. While generators still sit behind the —harmony or —harmony-generators flags it’s enough to get your feet wet! In this post I want to go through my experiences with coroutines and why I personally think they’re a great tool.

1 回复

使用 Co 的同学可以都过来看看

回到顶部