Yuari
Documentation
Docs/DirectoryWatcher/DirectoryWatcher.stop

DirectoryWatcher.stop

Stops monitoring and releases the native directory handle.

Syntax

DirectoryWatcher.stop(watcher: any) -> nil

Parameters

ParameterTypeDescription
watcheranyThe watcher value used by the call.

Returns

TypeDescription
nilThis function does not return a value.

Description

DirectoryWatcher.stop 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:stop()

Notes

  • Only folders inside the Yuari workspace can be watched; stop watchers when they are no longer needed.