Skip to content

Commit fef4444

Browse files
Make task polling behavior and reasoning more explicit
Co-authored-by: Connor Peet <[email protected]>
1 parent 3cf6da0 commit fef4444

File tree

1 file changed

+1
-1
lines changed
  • docs/specification/draft/basic/utilities

1 file changed

+1
-1
lines changed

docs/specification/draft/basic/utilities/tasks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ After a task completes the operation result is retrieved via [`tasks/result`](/s
223223

224224
To retrieve the result of a completed task, requestors can send a `tasks/result` request:
225225

226-
While `tasks/result` blocks until the task reaches a terminal status, requestors can continue polling via `tasks/get` in parallel if they are not actively blocked waiting for the result. This allows requestors to monitor status changes or display progress updates while the task executes, even after invoking `tasks/result`.
226+
While `tasks/result` blocks until the task reaches a terminal status, requestors can continue polling via `tasks/get` in parallel if they are not actively blocked waiting for the result, such as if their previous `tasks/result` request failed or was cancelled. This allows requestors to monitor status changes or display progress updates while the task executes, even after invoking `tasks/result`.
227227

228228
**Request:**
229229

0 commit comments

Comments
 (0)