We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4666384 commit eaa63faCopy full SHA for eaa63fa
1 file changed
src/index.mjs
@@ -394,7 +394,7 @@ class TaskQueuePool {
394
// Cancellation isn't guaranteed, however cancellation of a task
395
// known to have been already completed will return `false`.
396
cancel(taskId) {
397
- const task = this.tasks[tasksId];
+ const task = this.tasks[taskId];
398
const resultController = this.results[taskId];
399
if (resultController.completed || task.state==='completed') {
400
return false;
0 commit comments