Releases: DamonOehlman/taskify
Releases · DamonOehlman/taskify
Release list
v3.0.0
This release adds the task.exec function which takes an array as the first parameter, and a callback as the second. The task name is spliced out of the array and used to locate the task, with the remaining args passed onto the task function (if found).
Additionally, the "automagic" callback implementation of the task.prepare has been removed (less magic = better).
v2.0.0
This release moves taskify from automatically registering a "global registry" to using defined registry scopes. A new registry is created as follows:
var task = require('taskify')();Once the registry is created, new tasks can then be defined:
task('double', function(a) {
return a * 2;
});