Interface McpCancelationToken


Cooperative cancelation signal for an in-flight MCP JSON-RPC request.

Soklet does not interrupt handler threads when a client sends notifications/cancelled. Long-running handlers can poll this token and stop work at a safe application-defined point.

Author:
Mark Allen
  • Method Details