TAsyncQueuedWork::TAsyncQueuedWork

Creates and initializes a new instance.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Async/Async.h"

Syntax

TAsyncQueuedWork
(
    TUniqueFunction< ResultType()> && InFunction,
    TPromise< ResultType > && InPromise
)

Remarks

Creates and initializes a new instance.

Parameters

Parameter

Description

InFunction

The function to execute asynchronously.

InPromise

The promise object used to return the function's result.

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