Skip to main content

electron/managers/monitorManager/applyMonitorStateOperation

Monitor state persistence and event emission.

Remarks

Extracted from electron/managers/MonitorManager!MonitorManager to keep the manager focused on lifecycle orchestration.

This helper:

  • Persists the monitor changes inside a transaction
  • Mutates the cached monitor + site objects only after persistence succeeds
  • Emits the canonical monitor:status-changed payload

Interfaces

Functions