Protected Internal concurrencyProtected Internal defaultProtected Internal failedProtected Internal loggerProtected Internal memorizePrivate messageProtected Internal onProtected Internal prioritizedProtected Internal promiseProtected Internal promiseProtected Internal retryingProtected Internal stopProtected Internal stoppedProtected Internal taskProtected Internal taskProtected Internal tasksProtected _addInternal Private _assertProtected _cleanProtected _createInternal Optional taskId: TaskIdOptional onStatusUpdate: TaskStatusUpdateHandler<ReturnType>Protected _getProtected _getProtected _logProtected _pushProtected _shouldInternal Optional task: Task<any>Add a task with callback function to the prioritized queue.
The callback function of the task
Add a task with callback function to the prioritized queue.
The callback function of the task
Optional onStatusUpdate: TaskStatusUpdateHandler<ReturnType>The callback function to subscribe task status changes
Add a task with callback function to the prioritized queue.
The callback function of the task
Optional taskId: TaskIdThe ID of the task
Optional onStatusUpdate: TaskStatusUpdateHandler<ReturnType>The callback function to subscribe task status changes
Add a task with callback function to the queue.
The callback function of the task
Add a task with callback function to the queue.
The callback function of the task
Optional onStatusUpdate: TaskStatusUpdateHandler<ReturnType>The callback function to subscribe task status changes
Add a task with callback function to the queue.
The callback function of the task
Optional taskId: TaskIdThe ID of the task
Optional onStatusUpdate: TaskStatusUpdateHandler<ReturnType>The callback function to subscribe task status changes
Add tasks with callback functions to the queue.
The array of tasks with callback functions, IDs, task status update subscribers, and priorities
Clear the task details with task ID.
The ID of the task
Get all task details with optional matching status.
Optional status: TaskStatus | TaskStatus[]The matched status or array of statuses
Generated using TypeDoc
Task queue with concurrency control. By default, all added tasks will be auto scheduled and executed. You can use stop() and start() to control the execution.