Method System.FSEvents.EventStream()->set_callback()
- Method set_callback
void set_callback(function(:void) callback)
- Description
Sets the function that will be called when a file notification event is received.
The method signature for the callback is:
void event_callback(string path, int flags, int event_id)