taskResult method

  1. @override
Future<Map<String, dynamic>> taskResult(
  1. String taskId, {
  2. RequestOptions? options,
})
override

2025-11-25 tasks/result: wait for the task to end and return what the underlying request returned (its JSON-RPC error is thrown as McpError).

Implementation

@override
Future<Map<String, dynamic>> taskResult(
  String taskId, {
  RequestOptions? options,
}) => inner.taskResult(taskId, options: options);