Table of Contents

TTMSMCPServer.EnableTasks Property

When True, the task capability is advertised during initialization and a client may ask for a call to be executed asynchronously, receiving a task handle instead of a result.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer Type: Boolean

Syntax

property EnableTasks: Boolean;

Default: False

Remarks

This setting alone is not sufficient: tasks are only honored on a session whose negotiated protocol version supports them, which is 2025-11-25 or later. A client on an earlier version always receives a direct result. Default is False.