Table of Contents

TTMSMCPTask.TaskResult Property

Value produced by the operation, handed to the client when it asks for the result.

API unit family: TMS.MCP.Tasks Declaring type: TTMSMCPTask Type: TJSONValue

Syntax

property TaskResult: TJSONValue;

Remarks

The task owns the value and releases the previous one when a new value is assigned; assigning also refreshes TTMSMCPTask.LastUpdatedAt. Prefer TTMSMCPTaskRegistry.SetTaskResult, which also marks the task completed and wakes the callers waiting for it.