Unregister File Change Handler
Signature
bool unregisterFileChangeHandler(string filepath)Description
Unregisters a file change handler for a specific file, preventing it from being executed in future occurrences of the file being changed.
Returns whether the operation was successful (true) or not (false).
Arguments
File Path
The path of the file that is monitored.
Experimental Version
If the file change handler was registered with the experimental version, it must be unregistered the same way, using experimental.unregisterFileChangeHandler rather than event.unregisterFileChangeHandler.
Notes
Trying to unregister a non-existent file change handler will throw a warning and then be ignored.
Last updated