observeNoteChanges

fun observeNoteChanges(module: ZuperModule, moduleUid: String): Flow<NoteChangeEvent>

Observes notes for a specific module with real-time updates and efficient change detection.

Return

Flow of NoteChangeEvent.NotesUpdated containing actual changes to notes and related data

Parameters

module

Module type to observe notes for (e.g., ZuperModule.JOB)

moduleUid

Unique identifier of the module instance