resubscribeToTask
Resubscribes to streaming updates for a task.
This method reconnects to an existing task's event stream, useful when a previous streaming connection was lost or closed. It allows clients to resume receiving updates about task progress without missing events that occurred during the disconnection period.
Return
A flow of task update events that continues from the current task state until completion.
Parameters
id
The ID of the task to reconnect to.