DirectoryWatcher.OnOverflow
Registers a callback invoked when change events overflow.
Syntax
DirectoryWatcher.OnOverflow(watcher: any, callback: function) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
watcher | any | The watcher value used by the call. |
callback | function | The callback invoked by the operation. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
DirectoryWatcher.OnOverflow is part of the DirectoryWatcher library. Win32 directory monitoring for folders inside the Yuari workspace.
The operation is performed immediately using the arguments supplied at the call site.
Example
watcher:OnOverflow(function() print("overflow") end)
Notes
- Only folders inside the Yuari workspace can be watched; stop watchers when they are no longer needed.