Expand description
Task capability implementation.
This module provides support for long-running tasks in MCP servers.
Tasks allow servers to execute long-running operations while providing progress updates and supporting cancellation.
Structsยง
- Task
Handle - Handle for interacting with a running task.
- Task
Manager - Manager for coordinating tasks.
- Task
Service - Task service implementing the
TaskHandlertrait. - Task
State - Internal state for a running task.