task-flow-manager
v1.0.0
Published
A library to manage asynchronous tasks and complex workflows
Downloads
3
Readme
Async Task Manager
async-task-manager is a JavaScript library for managing asynchronous tasks and complex workflows using promises and observables. It provides a TaskManager class for adding, running, and retrying tasks, while maintaining the execution order of tasks.
Features
- Task Execution: Add and manage tasks to be executed asynchronously.
- Task Retry: Configure the number of retries for failed tasks.
- Error Handling: Errors are logged and propagated after retries.
- Parallel Execution: Run multiple tasks in parallel while ensuring that the failure or success order is maintained.
Installation
To install the library, use npm:
npm install async-task-manager