diff options
author | Aylur <[email protected]> | 2024-10-15 13:36:16 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-10-15 13:36:16 +0000 |
commit | b33c3bf91dbbea13b1a2c8603e00809b22cd42c8 (patch) | |
tree | 0e0cbcee40676d2ce88f2b6f040ee3210b08020f /docs/guide/typescript/utilities.md | |
parent | bafd48d3df9b43a1d49ec015eff30619d595468b (diff) |
docs: fix links
Diffstat (limited to 'docs/guide/typescript/utilities.md')
-rw-r--r-- | docs/guide/typescript/utilities.md | 4 |
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: { |