observe Service Task Changes
fun observeServiceTaskChanges(module: ZuperModule, moduleUid: String): Flow<ZyncServiceTaskUpdateEvent>
Observe real-time changes to service tasks for a specific module.
This method provides a reactive Flow that emits ServiceTaskChangeEvent whenever service tasks are updated, added, or deleted in the specified module. The flow follows the offline-first approach, observing local database changes and automatically reflecting background sync updates.
Return
Flow
Parameters
module
The module type (typically ZuperModule.JOB)
module Uid
The unique identifier of the module (e.g., job UID)