UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Async.cpp File Reference
#include "Async/Async.h"
#include "HAL/ThreadSafeCounter.h"

Classes

class  FAsyncGraphTask
 

Functions

void AsyncTask (ENamedThreads::Type Thread, TUniqueFunction< void()> Function)
 

Function Documentation

◆ AsyncTask()

void AsyncTask ( ENamedThreads::Type  Thread,
TUniqueFunction< void()>  Function 
)

Convenience function for executing code asynchronously on the Task Graph.

Parameters
ThreadThe name of the thread to run on.
FunctionThe function to execute.