Retoor software development Projects Research SearchXNG
Register Sign In

10 lines
229 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 "sysinfo" for SysInfo
var t1 = SysInfo.hrtime
var t2 = SysInfo.hrtime
System.print(t1 is Num) // expect: true
System.print(t2 is Num) // expect: true
System.print(t2 >= t1) // expect: true
Reference in New Issue Copy Permalink
fe1f129349
wren/test/sysinfo/hrtime.wren
Response time: 38ms
Mail Licenses API