Interface McpTaskEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Thread-safe listener for application-owned MCP task-change events.
Events are deliberately coarse and carry only a task ID. Soklet performs a
fresh, authorized lookup through McpTaskManager before it projects a
task notification; event delivery is never authoritative task state.
Publishers may invoke one listener concurrently for independent events.
Listener implementations should return promptly and must not assume which
thread performs delivery.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTaskChanged(@NonNull String taskId) Reports that the durable state of a task may have changed.
-
Method Details
-
onTaskChanged
Reports that the durable state of a task may have changed.- Parameters:
taskId- changed task identifier
-