TFuture< void >

Template for unshared futures (specialization for void).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TFutureBase

TFuture< void >

References

Module

Core

Header

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

Include

#include "Async/Future.h"

Syntax

template<>
class TFuture< void > : public TFutureBase< int >

Remarks

Template for unshared futures (specialization for void).

Functions

Name Description

Public function

 

~TFuture()

Destructor.

Public function Const

void

 

Get()

Gets the future's result.

Public function

TSharedFutur...

 

Share()

Moves this future's state into a shared future.

Public function

 

TFuture()

Default constructor.

Public function

 

TFuture

(
    const BaseType::StateType& InState
)

Creates and initializes a new instance.

Public function

 

TFuture

(
    TFuture&&
)

Move constructor.

Operators

Name Description

Public function

TFuture &

 

operator=

(
    TFuture&& Other
)

Move assignment operator.

Typedefs

Name

Description

BaseType