UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAsyncGraphTask Class Reference
+ Inheritance diagram for FAsyncGraphTask:

Public Member Functions

 FAsyncGraphTask (ENamedThreads::Type InDesiredThread, TUniqueFunction< void()> &&InFunction)
 
void DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 
ENamedThreads::Type GetDesiredThread ()
 
- Public Member Functions inherited from FAsyncGraphTaskBase
TStatId GetStatId () const
 

Additional Inherited Members

- Static Public Member Functions inherited from FAsyncGraphTaskBase
static ESubsequentsMode::Type GetSubsequentsMode ()
 

Detailed Description

Graph task for simple fire-and-forget asynchronous functions.

Constructor & Destructor Documentation

◆ FAsyncGraphTask()

FAsyncGraphTask::FAsyncGraphTask ( ENamedThreads::Type  InDesiredThread,
TUniqueFunction< void()> &&  InFunction 
)
inline

Creates and initializes a new instance.

Member Function Documentation

◆ DoTask()

void FAsyncGraphTask::DoTask ( ENamedThreads::Type  CurrentThread,
const FGraphEventRef MyCompletionGraphEvent 
)
inline

Performs the actual task.

◆ GetDesiredThread()

ENamedThreads::Type FAsyncGraphTask::GetDesiredThread ( )
inline

Returns the name of the thread that this task should run on.


The documentation for this class was generated from the following file: