class Topia::AsyncWatcher

Overview

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

Defined in:

topia/async_watcher.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def start #

[View source]
def stop #

[View source]
def watch(patterns : Array(String), &callback : ChangeCallback) #

[View source]
def watch(pattern : String, &callback : ChangeCallback) #

[View source]