taskr
Simplest task management promise-based module
Installation
npm install taskr --save
Usage
var tasks = __dirname + '/task-handlers'; // will search for module 'task-handlers/my-awesome-task' considering it's exporting single function-worker// then immediately run that function bypassing given parameter to it// assumes, worker function returns promisetasksstart'my awesome task' param: value; // will search for module 'task-handlers/every-minute' considering it's exporting single function-worker// then will run it each minute// (if previous call was not finished, then new one will be queued to be executed exactly after previous one)tasks; // will run 'do that' immediately after 'after this'tasks;
License
MIT