Class Index | File Index

Classes


Class hamsters.run


Defined in: hamsters.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
hamsters.run(params, fn, callback, workers, aggregate, dataType)
Class Detail
hamsters.run(params, fn, callback, workers, aggregate, dataType)
Parameters:
{object} params
- incoming params object for task
{function} fn
- Sequential function to execute
{function} callback
- task callback when all threads complete
{integer} workers
- total number of threads to use
{boolean} aggregate
- boolean aggregate individual thread outputs into final array
{string} dataType
Returns:

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 29 2015 09:39:03 GMT-0400 (EDT)