From RAD Studio API Documentation
Jump to: navigation, search


function GetValue: T;


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


Returns the value of a specific type <T> of the function implemented using TFuture.

If the value has been already computed, you will get this value. If not, it will block and wait until this value is obtained.

TFuture<T>.GetValue is not normally used directly. Instead, an instance of the interface, IFuture<T>, is obtained from TTask.Future<T>.

See Also