TPromise::EmplaceValue

Sets the promised result.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/Future.h

Include

#include "Async/Future.h"

Syntax

template<typename... ArgTypes>
void EmplaceValue
(
    ArgTypes &&... Args
)

Remarks

Sets the promised result.

The result must be set only once. An assertion will be triggered if this method is called a second time.

Parameters

Parameter

Description

Result

The result value to set.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss