System.Threading.TFuture.Start

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Start: IFuture<T>;

Properties

Type Visibility Source Unit Parent
function protected System.Threading.pas System.Threading TFuture

Description

Start runs the calling task and returns an ITask instance of this task.

System.Threading.TFuture.Start inherits from System.Threading.TTask.Start. All content below this line refers to System.Threading.TTask.Start.

Start runs the calling task and returns an ITask instance of this task.

Before running the task, Start checks if the task is not already completed or if the task is already started. If the task is completed, it raises an EInvalidOperation event. If the task is started, it calls QueueEvents.

See Also