Table of Contents

TTMSMCPServer.SetTaskResult Method

Completes a task successfully with the payload a later tasks/result request 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.