.watchers.pauseAll
Pauses all the currently registered watchers. NOTE: If a watcher is currently pending registration with Lampix, it will NOT be paused, as this methods concerns all of the watchers that have been registered successfully.
Returns
(Promise<void>
): A promise that fulfills when all of the registered watchers have been paused. If a registered watcher is already paused, it will simply resolve automatically, bypassing Lampix.
Example
Notes
You can pause a single registered watcher by using its .pause()
method as well.
Last updated