cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+3 -1
View File
@@ -16,4 +16,6 @@ Queues a WebSocket message for every client connected to the given scope.
If `scope` is omitted, the current page scope is used.
:example
print("ws_send is resource-bound; configure the service or connection, then call it in request code.\n");
// Inside a WS handler this broadcasts to the current scope.
bool sent = ws_send("hello subscribers");
print(sent ? "broadcast queued" : "no active WS scope to broadcast to", "\n");