Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TPromise_1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetValue () |
Async/Future.h | ||
void SetValue
(
const SetType& Result |
Sets the promised result. | Async/Future.h | |
void SetValue
(
SetType&& Result |
Async/Future.h |
SetValue()
| Name | SetValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include Path | #include "Async/Future.h" |
void SetValue()
SetValue(const SetType &)
Description
Sets the promised result.
The result must be set only once. An assertion will be triggered if this method is called a second time.
| Name | SetValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include Path | #include "Async/Future.h" |
void SetValue
(
const SetType & Result
)
Parameters
| Name | Remarks |
|---|---|
| Result | The result value to set. |
SetValue(SetType &&)
| Name | SetValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include Path | #include "Async/Future.h" |
void SetValue
(
SetType && Result
)