commit 4bb081ffcf355b7560e5e22763ecffb19f033bb0
parent 65878135776e1a1955b7d6b8887448b5d46df674
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 10 Feb 2025 00:41:01 +0000
export anoia.svc:fileno so it can be used with event loops
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pkgs/anoia/svc.fnl b/pkgs/anoia/svc.fnl
@@ -60,6 +60,7 @@
(write-value (.. directory "/" filename) new-value)
(read-value (.. directory "/" filename))))
:close #(watcher:close)
+ :fileno #(watcher:fileno)
: events
}))