Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Async.h |
| Include | #include "Async/Async.h" |
Syntax
enum EAsyncExecution
{
TaskGraph,
TaskGraphMainThread,
Thread,
ThreadIfForkSafe,
ThreadPool,
LargeThreadPool,
}
Values
| Name | Description |
|---|---|
| TaskGraph | Execute in Task Graph (for short running tasks). |
| TaskGraphMainThread | Execute in Task Graph on the main thread (for short running tasks). |
| Thread | Execute in separate thread if supported (for long running tasks). |
| ThreadIfForkSafe | Execute in separate thread if supported or supported post fork (see FForkProcessHelper::CreateThreadIfForkSafe) (for long running tasks). |
| ThreadPool | Execute in global queued thread pool. |
| LargeThreadPool | Execute in large global queued thread pool. |
Remarks
Enumerates available asynchronous execution methods.