TTMSMCPServer.SetTaskResult Method
Completes a task successfully with the payload a later
tasks/resultrequest will return, and notifies the client that owns it.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPServer
Inherited from: TTMSMCPCustomServer
Syntax
procedure SetTaskResult(const ATaskId: string; AResult: TJSONValue);
Parameters
| Name | Description |
|---|---|
ATaskId |
Identifier of the task to complete. |
AResult |
Result payload. Ownership passes to the task registry. |