TPromiseBase::TPromiseBase

Create and initialize a new instance with a callback.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Async/Future.h"

Syntax

TPromiseBase
(
    TUniqueFunction< void()> && CompletionCallback
)

Remarks

Create and initialize a new instance with a callback.

Parameters

Parameter

Description

CompletionCallback

A function that is called when the future state is completed.

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