[链接] TJ 的文章 Callbacks vs Coroutines
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 的同学可以都过来看看