fnFlow
fnFlow copied to clipboard
Pronounced "effin' flow" because it's so badass, fnFlow is a Javascript control flow library heavily influenced by Caolan McMahon's async that encourages a proper functional design pattern.
It would be nice to create tasks that denote the function will return a promise. ``` javascript flow.tasks = { task: new Promise(fs.readFile, 'file_name') } ``` It would also be...
Tasks could catch errors and send them to the callback.
It would be nice to be able to do something like ``` javascript flow.tasks = { file_data: new Task(fs.readFile, 'data1.txt'), file_data2: new Task(fs.readFile, flow.tasks.file_data) }; flow.execute(function(err, results){ }); ``` as...