Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- FAsyncGraphTaskBase
- TAsyncGraphTask
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Async.h |
| Include | #include "Async/Async.h" |
Syntax
template<typename ResultType>
class TAsyncGraphTask : public FAsyncGraphTaskBase
Remarks
Template for asynchronous functions that are executed in the Task Graph system.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TAsyncGraphTask
(
TUniqueFunction< ResultType()>&& InFunction, |
Creates and initializes a new instance. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DoTask
(
ENamedThreads::Type CurrentThread, |
Performs the actual task. | |
| ENamedThreads::Type | Returns the name of the thread that this task should run on. | ||
| TFuture< ResultType > | GetFuture () |
Gets the future that will hold the asynchronous result. |