Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Future.h |
Include |
#include "Async/Future.h" |
template<typename InternalResultType>
class TFutureBase
TFuture Abstract base template for futures and shared futures.
Name | Description | |
---|---|---|
|
TFutureBase() |
Default constructor. |
|
TFutureBase ( |
Creates and initializes a new instance. |
|
TFutureBase ( |
Protected move construction |
|
TFutureBase ( |
Protected copy construction |
Name | Description | |
---|---|---|
|
~TFutureBase() |
Protected destructor. |
Name | Description | ||
---|---|---|---|
|
const StateT... |
GetState() |
Gets the shared state object. |
|
IsReady() |
Checks whether this future object has its value set. |
|
|
IsValid() |
Checks whether this future object has a valid state. |
|
|
auto |
Next ( |
Next implementation. |
|
Reset() |
Reset the future. |
|
|
auto |
Then ( |
Then implementation. |
|
Wait() |
Blocks the calling thread until the future result is available. |
|
|
WaitFor ( |
Blocks the calling thread until the future result is available or the specified duration is exceeded. |
|
|
WaitUntil ( |
Blocks the calling thread until the future result is available or the specified time is hit. |
Name | Description | ||
---|---|---|---|
|
TFutureBase ... |
operator= ( |
Protected move assignment |
|
TFutureBase ... |
operator= ( |
Protected copy assignment |
Name |
Description |
---|---|
StateType |