Retoor software development Projects Research SearchXNG
Register Sign In

16 lines
209 B
JavaScript
Raw Normal View History

feat: add fswatch, sysinfo, and udp demo scripts plus reorder manual sidebar links Add three new example scripts demonstrating the fswatch, sysinfo, and udp modules with file watching, system metrics, and UDP echo server/client patterns. Reorder the manual API sidebar navigation to list modules alphabetically, removing deprecated entries like websocket, tls, net, json, regex, jinja, os, signal, subprocess, sqlite, and timer while adding argparse, dataset, fswatch, and html.
2026-01-25 13:09:28 +01:00
// retoor <retoor@molodetz.nl>
import "timer" for Timer
var called = false
Timer.immediate {
called = true
}
System.print(called) // expect: false
Timer.sleep(1)
System.print(called) // expect: true
Reference in New Issue Copy Permalink
e3c15968cf
wren/test/timer/immediate.wren
Response time: 95ms
Mail Licenses API