observe

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

Returns a Flow of TaskState updates for the given task ID. Emits: Scheduled → Running → Success | Failed | Cancelled