Navigation
API > API/Runtime > API/Runtime/Core
Interface for asynchronous tasks.
A asynchronous task is a unit of work that runs in parallel to the caller and may take a considerable amount of time to complete, i.e. several seconds, minutes or even hours. This interface provides mechanisms for tracking and canceling such tasks.
| Name | IAsyncTask |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/IAsyncTask.h |
| Include Path | #include "Async/IAsyncTask.h" |
Syntax
class IAsyncTask
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IAsyncTask() |
Virtual destructor. | Async/IAsyncTask.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Cancel () |
Cancel this task. | Async/IAsyncTask.h | |
EAsyncTaskState GetTaskState() |
Gets the current state of the task. | Async/IAsyncTask.h |