Interface Tasks
- All Known Subinterfaces:
TaskRegistry
- All Known Implementing Classes:
DefaultTaskRegistry
public interface Tasks
Façade interface for MCP tasks
-
Method Summary
-
Method Details
-
get
-
create
Task create() -
create
-
remove
Removes a task from the registry, e.g. because it was removed on the caller's side. A non-terminal task is cancelled first (firing a final status notification) so itsTask.completion()doesn't hang forever.- Returns:
trueif a task with this id existed and was removed
-