diff options
author | Kevin <[email protected]> | 2024-10-16 00:49:16 -0300 |
---|---|---|
committer | Kevin <[email protected]> | 2024-10-16 00:49:16 -0300 |
commit | 2b1e8501b46056b79d97e90c6ec94e3ad36d0ab2 (patch) | |
tree | 6486e98bd1ba523b1aeb4bd2566d1ff6e5c41798 /core/gjs/src/time.ts | |
parent | 03f2c4706faba7dac5aee71b10255eac218cbeec (diff) | |
parent | 236487001ab2a6c9c8e87e5db0ced9e5ab3ed791 (diff) |
Merge branch 'adapt-upstream-changes'
Diffstat (limited to 'core/gjs/src/time.ts')
-rw-r--r-- | core/gjs/src/time.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/gjs/src/time.ts b/core/gjs/src/time.ts deleted file mode 100644 index 4e28ad0..0000000 --- a/core/gjs/src/time.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Astal } from "./imports.js" - -export function interval(interval: number, callback?: () => void) { - return Astal.Time.interval(interval, () => void callback?.()) -} - -export function timeout(timeout: number, callback?: () => void) { - return Astal.Time.timeout(timeout, () => void callback?.()) -} - -export function idle(callback?: () => void) { - return Astal.Time.idle(() => void callback?.()) -} |