Navigation
API > API/Runtime > API/Runtime/Core
Enumerates available asynchronous execution methods.
| Name | EAsyncExecution |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Async.h |
| Include Path | #include "Async/Async.h" |
Syntax
enum EAsyncExecution
{
TaskGraph,
TaskGraphMainThread,
TaskGraphMainTick,
Thread,
ThreadIfForkSafe,
ThreadPool,
LargeThreadPool,
}
Values
| Name | Remarks |
|---|---|
| TaskGraph | Execute in Task Graph (for short running tasks). |
| TaskGraphMainThread | Execute in Task Graph on the main thread (for short running tasks that are safe to run anywhere including inside other waits). |
| TaskGraphMainTick | Execute inside a Tick on the main thread (for short running tasks that needs to run at a safe place). |
| 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. |