Navigation
API > API/Runtime > API/Runtime/Core
An extension of FTaskBase for tasks that return a result. Stores task execution result and provides an access to it.
| Name | TTaskWithResult |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
| Include Path | #include "Tasks/TaskPrivate.h" |
Syntax
template<typename ResultType>
class TTaskWithResult : public UE::Tasks::Private::FTaskBase
Inheritance Hierarchy
- FInheritedContextBase → FTaskBase → TTaskWithResult
- FTaskBase → TTaskWithResult
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTaskWithResult
(
const TCHAR* InDebugName, |
Tasks/TaskPrivate.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TTaskWithResult() |
Tasks/TaskPrivate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ResultType & GetResult() |
Tasks/TaskPrivate.h |