System.Threading.TFuture

From RAD Studio API Documentation
Jump to: navigation, search

System.Threading.TTaskSystem.Threading.TAbstractTaskSystem.Threading.TThreadPool.TAbstractWorkerDataSystem.TInterfacedObjectSystem.TObjectTFuture

Delphi

TFuture<T> = class sealed(TTask, IFuture<T>)

C++

template<typename T> class PASCALIMPLEMENTATION TFuture__1 : /*[[sealed]]*/ public TTask

Properties

Type Visibility Source Unit Parent
class public
System.Threading.pas
System.Threading.hpp
System.Threading System.Threading

Description

TFuture provides implementation members and functions for IFuture to operate with TTask.Future method.

Normally, instances of TFuture are not created directly. Programs would normally call TTask.Future<T> when requiring a function suitable to run in a parallel thread whose return value is needed a specific point later in the program.

See Also