diff options
author | crowlKats <crowlkats@gmail.com> | 2020-03-13 10:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 10:22:22 +0100 |
commit | e435c2be158ce8657dbff0664b6db222fe4e586c (patch) | |
tree | b0e72033be2ce51a70fd2c2af23e6da131a642bb /cli/js/web/timers.ts | |
parent | 3ac642c183981a366e1db565c16b81f864b07ee4 (diff) |
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
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); |