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
@@ -578,9 +578,9 @@ In stateless mode, there is no `SessionId`, so the task store does not apply ses
578
578
579
579
### Stateful mode
580
580
581
-
Instatefulmode, the `IMcpTaskStore` receivesthesession's `SessionId` on every operation — `CreateTaskAsync`, `GetTaskAsync`, `ListTasksAsync`, `CancelTaskAsync`, etc. The built-in <xref:ModelContextProtocol.InMemoryMcpTaskStore> enforces session isolation: tasks created in one session cannot be accessed from another.
581
+
Instatefulmode, the `IMcpTaskStore` receivesthesession's `SessionId` on every operation — `CreateTaskAsync`, `GetTaskAsync`, `ListTasksAsync`, `CancelTaskAsync`, etc. The built-in <xref:ModelContextProtocol.Server.InMemoryMcpTaskStore> enforces session isolation: tasks created in one session cannot be accessed from another.
582
582
583
-
TaskscanoutliveindividualHTTPrequestsbecausethetoolexecutesinthebackgroundafterreturningtheinitial `CreateTaskResult`. Taskcleanupisgovernedbythetask'sTTL (time-to-live), notbysessiontermination. However, the `InMemoryMcpTaskStore` losesalltasksiftheserverprocessrestarts. Fordurabletasks, implementacustom<xref:ModelContextProtocol.IMcpTaskStore>backedbyanexternalstore. See [Fault-toleranttaskimplementations](xref:tasks#fault-tolerant-task-implementations) forguidance.
583
+
TaskscanoutliveindividualHTTPrequestsbecausethetoolexecutesinthebackgroundafterreturningtheinitial `CreateTaskResult`. Taskcleanupisgovernedbythetask'sTTL (time-to-live), notbysessiontermination. However, the `InMemoryMcpTaskStore` losesalltasksiftheserverprocessrestarts. Fordurabletasks, implementacustom<xref:ModelContextProtocol.Server.IMcpTaskStore>backedbyanexternalstore. See [Implementingacustomtaskstore](xref:tasks#implementing-a-custom-task-store) forguidance.
584
584
585
585
### Task cancellation vs request cancellation
586
586
@@ -632,7 +632,7 @@ The `EventStreamStore` itself has TTL-based limits (default: 2-hour event expira
0 commit comments