You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/specification/draft/basic/utilities/cancellation.mdx
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,16 +34,17 @@ notification containing:
34
34
1. Cancellation notifications **MUST** only reference requests that:
35
35
- Were previously issued in the same direction
36
36
- Are believed to still be in-progress
37
-
2. The `initialize` request **MUST NOT** be cancelled by clients
38
-
3. Receivers of cancellation notifications **SHOULD**:
37
+
1. The `initialize` request **MUST NOT** be cancelled by clients
38
+
1. For [task-augmented requests](./tasks), the `tasks/cancel` request **MUST** be used instead of the `notifications/cancelled` notification. Tasks have their own dedicated cancellation mechanism that returns the final task state.
39
+
1. Receivers of cancellation notifications **SHOULD**:
0 commit comments