WatcherStopAll
Stops all registered watchers in the watcher service.
Watchers remain registered after this call and can be started again later.
Method Signature
WatcherStopAll(force=[boolean])Arguments
Argument
Type
Required
Description
Default
force
boolean
false
false
Examples
Stop all registered file watchers
watcherNew( "w1", getTempDirectory() );
watcherNew( "w2", getTempDirectory() );
watcherStopAll();
writeOutput( "all stopped" );
Result: all stopped
Related
Last updated
Was this helpful?
