Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- FFutureState
- TFutureState
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include | #include "Async/Future.h" |
Syntax
template<typename InternalResultType>
class TFutureState : public FFutureState
Remarks
Implements the internal state of asynchronous return values (futures).
Constructors
| Type | Name | Description | |
|---|---|---|---|
TFutureState () |
Default constructor. | ||
TFutureState
(
TUniqueFunction< void()>&& CompletionCallback |
Create and initialize a new instance with a callback. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EmplaceResult
(
ArgTypes&&... Args |
Sets the result and notifies any waiting threads. | |
| const InternalResultType & | GetResult () |
Gets the result (will block the calling thread until the result is available). |