summaryrefslogtreecommitdiff
path: root/ext/timers/01_timers.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/timers/01_timers.js')
-rw-r--r--ext/timers/01_timers.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/timers/01_timers.js b/ext/timers/01_timers.js
index a00d5d9b9..a92f9ab82 100644
--- a/ext/timers/01_timers.js
+++ b/ext/timers/01_timers.js
@@ -327,12 +327,12 @@
const pendingFireTimers = [];
/** Process and run a single ready timer macrotask.
- * This function should be registered through Deno.core.setMacrotaskCallback.
- * Returns true when all ready macrotasks have been processed, false if more
- * ready ones are available. The Isolate future would rely on the return value
- * to repeatedly invoke this function until depletion. Multiple invocations
- * of this function one at a time ensures newly ready microtasks are processed
- * before next macrotask timer callback is invoked. */
+ * This function should be registered through Deno.core.setMacrotaskCallback.
+ * Returns true when all ready macrotasks have been processed, false if more
+ * ready ones are available. The Isolate future would rely on the return value
+ * to repeatedly invoke this function until depletion. Multiple invocations
+ * of this function one at a time ensures newly ready microtasks are processed
+ * before next macrotask timer callback is invoked. */
function handleTimerMacrotask() {
if (pendingFireTimers.length > 0) {
fire(ArrayPrototypeShift(pendingFireTimers));