This was implemented to make it possible to identify a task that is in progress. Currently, it is possible to identify an error and also if a task has been added to the queue. However, in situations where it is necessary to manage the 'progress' of tasks for database management, for example, it becomes somewhat complex.
How does it work?
cluster.on("taskinprogress", (data, isCallbackExecution) => {
if (isCallbackExecution) {
console.log("A callback is in progress", data);
} else {
console.log("A task is in progress and it is not a callback", data);
}
});
Tests
A test similar to the event queue test has been implemented.
Readme
The file README.md was updated
Missing
CONTRIBUTING.md don't contains version and date release.
Why was this implemented?
This was implemented to make it possible to identify a task that is in progress. Currently, it is possible to identify an error and also if a task has been added to the queue. However, in situations where it is necessary to manage the 'progress' of tasks for database management, for example, it becomes somewhat complex.
How does it work?
Tests
Readme
README.md
was updatedMissing
CONTRIBUTING.md
don't contains version and date release.package-json
don't contain this version.