Task
const _t = require('robo-toolkit').task;
Robo-Toolkit provides a Task Framework helps you work with asynchronous operations in a much more convenient way. It allows you to repeat, delay, retry or skip any operation and run multiple operations in either parallel or sequence.
Key Concepts
Task is a unit that executes a single application logic in a preferred manner. Although there's also a set of essential built-in tasks which cover most of common scenarios in your app, yet you can define any custom task on your own by extending Task class.
Composite Task is a specialized implementation of Task, plus abilities to add / remove child tasks and control execution of the child tasks.
Task Builder provides functionality for building Task. It also provides an extensible surface allowing you to declare Builder for your custom Task.
Last updated