News for hackers. Stuff that matters.
Re:Wait.for: Sequential programming for Node.js (beta) by anko on Friday August 23, 2013 @12:02AM (#6261647)
fibers are lightweight threads, employing a sort of non-preemptive multitasking paradigm. it basically spawns a 'thread' that will be resumed only when the callback has returned, which returns the data passed to the callback.

the code is here: https://github.com/luciotato/waitfor/blob/master/waitfor.js, but it does require fibers.

There are no comments on this comment yet.