Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TPromise_1
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 | EmplaceValue |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include Path | #include "Async/Future.h" |
template<typename... ArgTypes>
void EmplaceValue
(
ArgTypes &&... Args
)
Parameters
| Name | Remarks |
|---|---|
| Args | The arguments to forward to the constructor of the result. |