WatchHandle extension type

A handle for controlling a watch operation.

Provides methods to stop, pause, and resume the watch.

on

Methods

call() → void
Stops the watch operation. Alias for stop.
pause() → void
Pauses the watch operation.
resume() → void
Resumes the watch operation.
stop() → void
Stops the watch operation.