klyn.io.FileWatcher.close
method
public close() as Void:
Description

AutoClosable support for try-with-resources.

close() is intentionally blocking: the native worker thread must have left the Klyn/JIT runtime before the owning scope can safely continue. Otherwise process shutdown or cache cleanup can race with a still-running watcher callback.

try watcher = FileWatcher("app.log"):
watcher.start()