scriby/asyncblock
View on GitHub ↗ ★ 191 JavaScript
Synchronous style code in an asynchronous world
10 mentions on Hacker News by 2 people: 2 stories, 8 comments · first 2012-01-25 · latest 2013-12-02
20082026
-
…for using fibers can also be met by using generators. (I maintain a library built on top of fibers: https://github.com/scriby/asyncblock )
comment by scriby · 2013-12-02 · in Why does it seem like threading and fibers in Node have been abandoned? -
https://github.com/scriby/asyncblock I'll just leave this here. It's been my pet project for the last couple years, and is a fully featured version of this concept. There's also https://github.com/0ctave/node-sync , which is the same…
comment by scriby · 2013-08-23 · in Wait.for: Sequential programming for Node.js (beta) -
…Shoot me now... For large, sprawling applications used to support a business, something like https://github.com/scriby/asyncblock can resolve most of the headaches with async code, including error handling. It's worked out well for my team…
comment by scriby · 2012-12-22 · in Node.js error handling -
For those interested in the fibers way of doing things, I recommend checking out https://github.com/scriby/asyncblock . It provides an easy-to-use abstraction to get the best of both worlds (straight-line code without blocking). I don't…
comment by scriby · 2012-07-12 · in Thoughts on Rails, Node, and the web apps of today -
…that way. If you just want to write code in blocking style, you can use asyncblock with node.js: https://github.com/scriby/asyncblock
comment by eurleif · 2012-05-16 · in The love and hate of Node.js -
Don't like callback hell? Use fibers. https://github.com/scriby/asyncblock (My pet project, a flow control library built on fibers that gives you all the benefits of async programming without the callbacks)
comment by scriby · 2012-03-01 · in If it doesn't feel natural, it will be replaced. Sorry node.js -
…boundaries, and provides really easy ways to do series and parallel flow control. Take a look at https://github.com/scriby/asyncblock . It would actually be pretty cool to integrate asyncblock into this project as it could provide the flow…
comment by scriby · 2012-02-15 · in Ace - Sinatra for Node with Fibers -
I wrote a module based on fibers to help with these sort of problems. Take a look at https://github.com/scriby/asyncblock
comment by scriby · 2012-01-25 · in Node.js - A giant step backwards?