Skip to content

riuandg5/task-execute

Repository files navigation

A utility to create tasks, group tasks, and execute.

Installation

To install package, run:

$ npm install -S @riuandg5/task-execute

then import the Task and GroupTask classes from the package:

import { Task, GroupTask } from "@riuandg5/task-execute";

also import types and interfaces if needed:

import type {
    TaskWorkerT,
    TaskWorkerParamsT,
    TaskConfigI,
    TaskResultT,
    GroupTaskModeT,
    GroupSubTasksT,
    GroupTaskConfigI,
    GroupTaskResultT,
} from "@riuandg5/task-execute";

API

The detailed API docs generated from TSDoc style comments using TypeDoc can be found here.

License

MIT License © Rishu Anand