Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include | #include "Async/AsyncResult.h" |
Syntax
template<typename ResultType>
class TAsyncResult
Remarks
Template for asynchronous return values.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TAsyncResult () |
Default constructor. | ||
TAsyncResult
(
const ArgType& Result |
Creates and initializes a new instance with the given synchronous result value. | ||
TAsyncResult
(
TAsyncResult&& Other |
Move constructor. | ||
TAsyncResult
(
TFuture< ResultType >&& InFuture, |
Creates and initializes a new instance |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TFuture< ResultType > & | GetFuture () |
Gets the future that will hold the result. | |
| TSharedPtr< IAsyncProgress > | GetProgess () |
Get an object that indicates the progress of the task that is computing the result. | |
| TSharedPtr< IAsyncTask > | GetTask () |
Get the asynchronous task that is computing the result. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TAsyncResult & | operator=
(
TAsyncResult&& Other |
Move assignment operator. |