diff options
Diffstat (limited to 'cli/js/web/timers.ts')
-rw-r--r-- | cli/js/web/timers.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/js/web/timers.ts b/cli/js/web/timers.ts index 806b7c160..520a2722a 100644 --- a/cli/js/web/timers.ts +++ b/cli/js/web/timers.ts @@ -261,7 +261,6 @@ function setTimer( return timer.id; } -/** Sets a timer which executes a function once after the timer expires. */ export function setTimeout( cb: (...args: Args) => void, delay = 0, @@ -273,7 +272,6 @@ export function setTimeout( return setTimer(cb, delay, args, false); } -/** Repeatedly calls a function, with a fixed time delay between each call. */ export function setInterval( cb: (...args: Args) => void, delay = 0, @@ -285,7 +283,6 @@ export function setInterval( return setTimer(cb, delay, args, true); } -/** Clears a previously set timer by id. AKA clearTimeout and clearInterval. */ function clearTimer(id: number): void { id = Number(id); const timer = idMap.get(id); |