Navigation
API > API/Runtime > API/Runtime/Core
| Name | FAsyncTask |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncWork.h |
| Include Path | #include "Async/AsyncWork.h" |
Syntax
template<typename TTask>
class FAsyncTask : public FAsyncTaskBase
Inheritance Hierarchy
- FAsyncTask
- FInheritedContextBase → FAsyncTaskBase → FAsyncTask
Implements Interfaces
Derived Classes
- FAsyncTaskExecuterWithAbort
- FGroomBindingAsyncBuildTask
- FSkinnedAssetAsyncBuildTask
- FStaticMeshAsyncBuildTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAsyncTask () |
Async/AsyncWork.h | ||
FAsyncTask
(
Arg0Type&& Arg0, |
Forwarding constructor. | Async/AsyncWork.h |
Structs
| Name | Remarks |
|---|---|
| CMarkAsCanceled |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Task | TTask | User job embedded in this task | Async/AsyncWork.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTask & GetTask () |
Retrieve embedded user job, not legal to call while a job is in process | Async/AsyncWork.h | |
const TTask & GetTask () |
Retrieve embedded user job, not legal to call while a job is in process | Async/AsyncWork.h |
Overridden from FAsyncTaskBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DoTaskWork() |
Perform task's work | Async/AsyncWork.h | |
virtual bool TryAbandonTask() |
Abandon task if possible, returns true on success, false otherwise. | Async/AsyncWork.h |