gens
Experimental usage of generators for continuables
async
takes a generator and returns a continuable. It's expected that
the values you yield are continuables themself.
Example
// run this with --use-strict --harmony on node v0.11.3let Redis = let console = let async = let parallel = let client = Redis async { clienthmset let post = clienthgetall let tags = posttags let taggedPosts = return post: post taggedPosts: taggedPosts } { if err throw err console client}
Installation
npm install gens
Contributors
- Raynos