跳到主要内容
CNode

[链接] TJ 的文章 Callbacks vs Coroutines

社区
Jjiyinyiyong发布于 12 年前最后回复 12 年前
140890

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)

P
Pana#112 年前

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

参与回复

登录后即可参与回复。登录