IAsyncTask

Interface for asynchronous tasks.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/IAsyncTask.h

Include

#include "Async/IAsyncTask.h"

Syntax

class IAsyncTask

Remarks

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.

Destructors

Name Description

Public function Virtual

~IAsyncTask()

Virtual destructor.

Functions

Name Description

Public function

void

 

Cancel()

Cancel this task.

Public function

EAsyncTaskSt...

 

GetTaskState()

Gets the current state of the task.