summaryrefslogtreecommitdiff
path: root/ext/timers
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-09-02 18:28:12 -0400
committerGitHub <noreply@github.com>2021-09-02 18:28:12 -0400
commit987716798fb3bddc9abc7e12c25a043447be5280 (patch)
treeacb14305d38d8ae78877e59e6faa66a66506eed3 /ext/timers
parent1bf7b90ca8ad8e2bf62e455c24d5498c9ee74a46 (diff)
feat(fmt): add basic JS doc formatting (#11902)
Diffstat (limited to 'ext/timers')
-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));