TPromiseBase

[TPromise](API\Runtime\Core\Async\TPromise)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Async/Future.h"

Syntax

template<typename InternalResultType>
class TPromiseBase : private FNoncopyable

Remarks

Constructors

Name Description

Public function

TPromiseBase()

Default constructor.

Public function

TPromiseBase

(
    TPromiseBase&& Other
)

Move constructor.

Public function

TPromiseBase

(
    TUniqueFunction< void()>&& Complet...
)

Create and initialize a new instance with a callback.

Destructors

Name Description

Protected function

~TPromiseBase()

Destructor.

Functions

Name Description

Protected function

const StateT...

 

GetState()

Gets the shared state object.

Operators

Name Description

Public function

TPromiseBase...

 

operator=

(
    TPromiseBase&& Other
)

Move assignment operator.

Typedefs

Name

Description

StateType

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