summaryrefslogtreecommitdiff
path: root/docs/guide/typescript/utilities.md
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-15 15:37:46 +0200
committerAylur <[email protected]>2024-10-15 15:37:46 +0200
commitc84d7103c74e313fe37dd285e47c819afa6e0d27 (patch)
tree0e0cbcee40676d2ce88f2b6f040ee3210b08020f /docs/guide/typescript/utilities.md
parentcbe650afb31c24faea6da45b4aeeffc6e964969d (diff)
parentb33c3bf91dbbea13b1a2c8603e00809b22cd42c8 (diff)
Merge branch 'small-refactor'
Diffstat (limited to 'docs/guide/typescript/utilities.md')
-rw-r--r--docs/guide/typescript/utilities.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/typescript/utilities.md b/docs/guide/typescript/utilities.md
index 9bc56b2..f808044 100644
--- a/docs/guide/typescript/utilities.md
+++ b/docs/guide/typescript/utilities.md
@@ -44,7 +44,7 @@ import { interval, timeout, idle } from "astal"
You can use javascript native `setTimeout` or `setInterval`
they return a [GLib.Source](https://docs.gtk.org/glib/struct.Source.html) instance.
Alternatively you can use these functions provided by Astal,
-which return an [Astal.Time](https://aylur.github.io/libastal/class.Time.html) instance.
+which return an [Astal.Time](https://aylur.github.io/libastal/io/class.Time.html) instance.
`Astal.Time` has a `now` signal and a `cancelled` signal.
@@ -99,7 +99,7 @@ import { subprocess, exec, execAsync } from "astal"
### Subprocess
You can start a subprocess and run callback functions whenever it outputs to
-stdout or stderr. [Astal.Process](https://aylur.github.io/libastal/class.Process.html) has a `stdout` and `stderr` signal.
+stdout or stderr. [Astal.Process](https://aylur.github.io/libastal/io/class.Process.html) has a `stdout` and `stderr` signal.
```ts
function subprocess(args: {