Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks
Inheritance Hierarchy
- FTaskHandle
- FTaskEvent
- TTask
- TTask< void >
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/Task.h |
Include | #include "Tasks/Task.h" |
Syntax
class FTaskHandle
Remarks
A common part of the generic [TTask](API\Runtime\Core\Tasks\TTask)<ResultType>_ and its
TTask
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TRefCountPtr< FTaskBase > | Pimpl |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FTaskHandle () |
||
![]() |
FTaskHandle
(
FTaskBase* Other |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Waits for task's completion for at least the specified amount of time, while executing other tasks. | |
![]() ![]() |
bool | BusyWait
(
ConditionType&& Condition |
Waits for task's completion or the given condition becomes true, while executing other tasks. |
![]() ![]() |
bool | IsAwaitable () |
|
![]() ![]() |
bool | IsCompleted () |
Checks if task's execution is done |
![]() ![]() |
bool | IsValid () |
|
![]() |
void | Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution |
![]() |
void | Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution, with prerequisites that must be completed before the task is scheduled |
![]() ![]() |
bool | Waits for task's completion with timeout. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FTaskHandle& Other |
|
![]() ![]() |
bool | operator==
(
const FTaskHandle& Other |
Typedefs
Name | Description |
---|---|
FTaskHandleId |