diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-06-06 13:12:24 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-06-06 13:12:24 +0200 |
commit | 21ea13250f691b35f67395ac9db874673988b167 (patch) | |
tree | bc6d49f5b0875369bca1c7a3fded27275b57985f /src | |
parent | d28333128568bf3967485763899d3afc8cad9bee (diff) |
fix timer typo
Diffstat (limited to 'src')
-rw-r--r-- | src/timer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.ts b/src/timer.ts index f19e975ac..289b46f16 100644 --- a/src/timer.ts +++ b/src/timer.ts @@ -73,7 +73,7 @@ export function every(delayMs: number, callback: () => void): TimerHandle { * Call a function after the delay given in milliseconds passes. */ export function after(delayMs: number, callback: () => void): TimerHandle { - return new TimeoutHandle(setInterval(callback, delayMs)); + return new TimeoutHandle(setTimeout(callback, delayMs)); } |