observeTagChanges

suspend fun observeTagChanges(module: ZuperModule): Flow<TagChangeEvent>

Observe tag changes for a specific module. Returns a flow that emits TagChangeEvent objects when tags are updated via delta sync.

This method provides real-time notifications when tags are updated during background sync. Clients should decide whether each tag is new or updated based on their local state.

Return

Flow of TagChangeEvent objects

Parameters

module

The module to observe tags for (e.g., ZuperModule.JOB, ZuperModule.GALLERY)

Samples