TFutureState

Implements the internal state of asynchronous return values (futures).

Windows
MacOS
Linux

Inheritance Hierarchy

FFutureState

TFutureState

References

Module

Core

Header

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

Include

#include "Async/Future.h"

Syntax

template<typename InternalResultType>
class TFutureState : public FFutureState

Remarks

Implements the internal state of asynchronous return values (futures).

Constructors

Name Description

Public function

TFutureState()

Default constructor.

Public function

TFutureState

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

Create and initialize a new instance with a callback.

Functions

Name Description

Public function

void

 

EmplaceResult

(
    ArgTypes&&... Args
)

Sets the result and notifies any waiting threads.

Public function Const

const Intern...

 

GetResult()

Gets the result (will block the calling thread until the result is available).

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