continuable-generators
Experimental usage of generators for continuables
run
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.2let Redis = let console = let list = let client = Redislet async = async { clienthmset let post = clienthgetall let tags = posttags let taggedPosts = return post: post taggedPosts: taggedPosts } { if err throw err console client}
Installation
npm install continuable-generators
Contributors
- Raynos