Table of Contents

TTMSMCPStellarDS.Mode Property

Selects whether a call runs on a background task and returns nil, or blocks and returns the parsed response.

API unit family: TMS.MCP.StellarDS Declaring type: TTMSMCPStellarDS Type: TTMSMCPCloudMode

Syntax

property Mode: TTMSMCPCloudMode;

Remarks

With moAsync, which is the value a new instance starts with, a call queues the request, returns nil at once, and the response is only reachable through the request events of the base component. With moSync the call waits for the service and returns the parsed body. Publishing the functions as callable tools therefore requires moSync: in the other value the client is answered with an empty result on every call. Assigning the property only records the value; it takes effect on the next call and leaves requests that are already running untouched.