Cross browser task execution library
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
qunit
src
test
README.md
task.min.js

README.md

TaskJS

Create a Task object to execute javascript code in the background on any browser, without script timeout messages.

The following methods are used to schedule and execute work for a task:

Task.mapUpdates each element of the array provided with the result of the function. Used to schedule work for the Task.execute function.
Task.reduceUpdate a result with the result of the supplied function called on each value in the array parameter. Used to schedule work for the Task.execute function.
Task.executeBegins execution of functions previously mapped to an array with the Task.map and Task.reduce methods.
Task.resetClears all data and resets the task.