Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TAsyncResult
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAsyncResult () |
Default constructor. | Async/AsyncResult.h | |
TAsyncResult
(
const ArgType& Result |
Creates and initializes a new instance with the given synchronous result value. | Async/AsyncResult.h | |
TAsyncResult
(
TAsyncResult&& Other |
Move constructor. | Async/AsyncResult.h | |
TAsyncResult
(
const TAsyncResult& |
Hidden copy constructor (async results cannot be copied). | Async/AsyncResult.h | |
TAsyncResult
(
TFuture< ResultType >&& InFuture, |
Creates and initializes a new instance | Async/AsyncResult.h |
TAsyncResult()
Description
Default constructor.
| Name | TAsyncResult |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include Path | #include "Async/AsyncResult.h" |
TAsyncResult()
TAsyncResult(const ArgType &)
Description
Creates and initializes a new instance with the given synchronous result value. This constructor is only available for referenceable result types, to make 'void' a feasible result type for this template class.
| Name | TAsyncResult |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include Path | #include "Async/AsyncResult.h" |
template<typename ArgType, typename>
TAsyncResult
(
const ArgType & Result
)
Parameters
| Name | Remarks |
|---|---|
| Result | The result value to set. |
TAsyncResult(TAsyncResult &&)
Description
Move constructor.
| Name | TAsyncResult |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include Path | #include "Async/AsyncResult.h" |
TAsyncResult
(
TAsyncResult && Other
)
TAsyncResult(const TAsyncResult &)
Description
Hidden copy constructor (async results cannot be copied).
| Name | TAsyncResult |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include Path | #include "Async/AsyncResult.h" |
TAsyncResult
(
const TAsyncResult &
)
TAsyncResult(TFuture< ResultType > &&, const TSharedPtr< IAsyncProgress > &, const TSharedPtr< IAsyncTask > &)
Description
Creates and initializes a new instance
| Name | TAsyncResult |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/AsyncResult.h |
| Include Path | #include "Async/AsyncResult.h" |
TAsyncResult
(
TFuture < ResultType > && InFuture,
const TSharedPtr < IAsyncProgress > & InProgress,
const TSharedPtr < IAsyncTask > & InTask
)
Parameters
| Name | Remarks |
|---|---|
| InFuture | The future to set. |
| InProgress | The progress object (optional). |
| InTask | The task object object (optional). |