CNode

[链接] TJ 的文章 Callbacks vs Coroutines

Jjiyinyiyong发布于12 年前最后回复12 年前1 回复4068 浏览0 收藏

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#1·12 年前

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

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