Listen to monitor status update. Instead of calling isMonitorRunning to get status of monitor,
"plugin:clipboard://clipboard-monitor/status" event is emitted from Tauri core when monitor status updates.
Parameters
cb: ((running: boolean) => void)
callback to be called when there is monitor status update
Listen to monitor status update. Instead of calling isMonitorRunning to get status of monitor, "plugin:clipboard://clipboard-monitor/status" event is emitted from Tauri core when monitor status updates.