Navigation
API > API/Runtime > API/Runtime/Core
A common part of the generic [TTask](API\Runtime\Core\TTask)<ResultType>_ and its TTask
| Name | FTaskHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/Task.h |
| Include Path | #include "Tasks/Task.h" |
Syntax
class FTaskHandle
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTaskHandle () |
Tasks/Task.h | ||
FTaskHandle
(
FTaskBase* Other |
Tasks/Task.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTaskHandleId | void | Tasks/Task.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FTaskBase | friend | Friends to get access to `Pimpl_ | Tasks/Task.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EExtendedTaskPriority GetExtendedPriority() |
Tasks/Task.h | ||
ETaskPriority GetPriority() |
Tasks/Task.h | ||
bool IsAwaitable() |
Tasks/Task.h | ||
bool IsCompleted() |
Checks if task's execution is done | Tasks/Task.h | |
bool IsValid() |
Tasks/Task.h | ||
void Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution | Tasks/Task.h | |
void Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution, with prerequisites that must be completed before the task is scheduled | Tasks/Task.h | |
bool TryRetractAndExecute() |
Try to finish the task on the current thread if it's not already started. | Tasks/Task.h | |
bool Wait () |
Waits for task's completion without timeout. | Tasks/Task.h | |
| Waits for task's completion with timeout. | Tasks/Task.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FTaskHandle& Other |
Tasks/Task.h | ||
bool operator==
(
const FTaskHandle& Other |
Tasks/Task.h |