| FFutureState
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Future.h |
Include |
#include "Async/Future.h" |
class FFutureState
Base class for the internal state of asynchronous return values (futures).
Name | Description | |
---|---|---|
|
FFutureState() |
Default constructor. |
|
FFutureState ( |
Create and initialize a new instance with a callback. |
Name | Description | |
---|---|---|
|
~FFutureState() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
IsComplete() |
Checks whether the asynchronous result has been set. |
|
|
MarkComplete() |
Notifies any waiting threads that the result is available. |
|
|
SetContinuation ( |
Set a continuation to be called on completion of the promise |
|
|
WaitFor ( |
Blocks the calling thread until the future result is available. |