observe

fun observe(taskId: String): Flow<TaskState>

Returns a Flow of TaskState updates filtered to the given task ID. The flow never completes — it remains active for the lifetime of the app.