class

Topia::AsyncWatcher

Inherits Reference < Object

High-performance file system event watcher using OS-level events

Constructors

new(patterns : Array(String) = [] of String, debounce_time : Time::Span = 100.milliseconds)
Source

Instance methods

start
Source
stop
Source
watch(patterns : Array(String), &callback : ChangeCallback)
Source
watch(pattern : String, &callback : ChangeCallback)
Source

Nested types