Node.js simple control flow library, implements series, parallel and limited models. Returns an array of errors and an array of results.
Initially based on examples presented in http://book.mixu.net/ -- read this, great way to get going in node.
var sf = ;// General usesf;sf;sf;
// For simple-flow examples we use fs: note -- data-x.txt is deliberatly non-existantvar fs = ;// sf.series([callbacks], final-callback)sf;// Ignore error series examplesf;
// sf.parallel([callbacks], final-callback)sf;
// sf.limited(int, [callbacks], final-callback)sf;
Can't catch errors in callbacks that are thrown.
Do named errors and results as done in async