System.Threading.IFuture.GetValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetValue: T;

C++

virtual T __fastcall GetValue() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
System.Threading.pas
System.Threading.hpp
System.Threading IFuture

Description

IFuture.GetValue allows you to specify when to return the value of a specific type <T> of the function implemented using IFuture.

This is the accessor method for the IFuture<T>.Value property. It waits for the function associated with its instance of IFuture<T>, previously set to run in a parallel thread by IFuture<T>.Start, to complete before returning its result.

See Also