TPromise::GetFuture

Gets a [TFuture](API\Runtime\Core\Async\TFuture) object associated with the shared state of this promise.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Async/Future.h"

Syntax

TFuture< ResultType > GetFuture()

Remarks

Gets a TFuture object associated with the shared state of this promise.

Returns

The TFuture object.

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