JF
A minimalist fork/join library for Javascript.
This codebase is unstable and should not be used at this time.
Version 0.2.x is an incompatable rebuild from version 0.1.x.
Usage
var start = start fs = ; var table = {}; //Start the process with a start() call, passing the initial setup function.//The initial setup function will be provided one argument, task, a reference to the current task.//Continue the process with then() calls.//Results of each fork are passed as an argument after a task and error reference in the order their callbacks were first requested.//Iterate through fork results with the each() call.//The setup function will be parsed and only passed values for each argument provided after task and err.//The function will be invoked enough times to iterate through all available fork results.//If the previous setup results in an error the each() function will only be called once.//While not required, it is recommended that you complete a process with an end() call.//An end() block is similar to then() and each() but fork results are preceeded only by an error reference, task is omitted.//Also, while start(), then() and each() are chainable, end() is not.;