Maestra
Get ready for an encore with this reprise to Octavia's concerto of mayhem.
Another task manager & runner based on dependencies.
Table of Contents
Installation
npm install maestra --save
Usage
const delay = ;const Maestra = ; // Create a new maestraconst maestra = ; // Add a taskmaestra; // Add a task depending of `lorem`maestra; // Add an task depending of `lorem`maestra; // Add a task depending of `ipsum` & `dolor`maestra; // Called when a task startedmaestra; // Called when a task completedmaestra; // Called when a task failedmaestra; // Run the `ipsum` task and its dependenciesmaestra;
Author
Alexandre Breteau - @0xSeldszar
License
MIT © Alexandre Breteau