From 288d83a1bb62fec09abc9e5625068c868bb65373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Rebours?= Date: Fri, 22 Oct 2021 16:04:57 +0200 Subject: [PATCH] remove TODO --- lib/executor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/executor.js b/lib/executor.js index 19a7038..6f0cf34 100755 --- a/lib/executor.js +++ b/lib/executor.js @@ -56,7 +56,7 @@ class Executor { // We got a callback task.arguments.pop() // remove original callback task.fn.apply(task.this, [...task.arguments, function () { - resolve() // triggers next task after next tick // TODO: check if it's at next tick or not + resolve() // triggers next task after next tick lastArg.apply(null, arguments) // call original callback }]) } else if (!lastArg && task.arguments.length !== 0) {