Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Experimental > API/Runtime/Core/Experimental/Async
Inheritance Hierarchy
- TPromiseVTableBase
- TPromiseVTable
- TPromiseVTableDummy
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Experimental/Async/AwaitableTask.h |
| Include | #include "Experimental/Async/AwaitableTask.h" |
Syntax
template<typename ReturnType>
class TPromiseVTableBase
Remarks
The TPromiseVTableBase type is used to move the vtable pointer out of the promise, where it otherwise could interfere the alignment of the Callable/Lambda.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPromiseBase * | Promise |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TPromiseVTableBase
(
FPromiseBase* InPromise |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Finish () |
||
| ReturnType | GetResult () |
||
| void | |||
| bool | IsCompleted () |
||
| bool | IsLaunched () |
||
| bool | IsValid () |
||
| bool | TryLaunch () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TPromiseVTableBase & | operator=
(
const TPromiseVTableBase& Other |
||
| TPromiseVTableBase & | operator=
(
TPromiseVTableBase&& Other |