summaryrefslogtreecommitdiff
path: root/core/gjs/src/time.ts
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-15 01:26:32 +0200
committerAylur <[email protected]>2024-10-15 01:26:32 +0200
commit2f71cd4c08bb4514efe43533e6a5d03535204c29 (patch)
treefc991a12e159ad645187862c90f40731794d6e47 /core/gjs/src/time.ts
parent9fab13452a26ed55c01047d4225f699f43bba20d (diff)
refactor lua and gjs lib
Diffstat (limited to 'core/gjs/src/time.ts')
-rw-r--r--core/gjs/src/time.ts13
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?.())
-}