TTMSMCPTask.TTL Property
Lifetime of the task in milliseconds, counted from
TTMSMCPTask.CreatedAt.
API unit family: TMS.MCP.Tasks
Declaring type: TTMSMCPTask
Type: Integer
Syntax
property TTL: Integer;
Remarks
Defaults to 60000. Once the lifetime has elapsed the task is removed by TTMSMCPTaskRegistry.PurgeExpiredTasks, after which its identifier is reported as unknown. A value of zero or less switches expiry off, so the task is kept until the registry itself is released.