![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AsyncResult.h>
Public Member Functions | |
| TAsyncResult () | |
| template<typename ArgType , typename = std::enable_if_t<std::is_same_v<ArgType, ResultType> && std::is_reference_v<const ArgType&>>> | |
| TAsyncResult (const ArgType &Result) | |
| TAsyncResult (TFuture< ResultType > &&InFuture, const TSharedPtr< IAsyncProgress > &InProgress, const TSharedPtr< IAsyncTask > &InTask) | |
| TAsyncResult (TAsyncResult &&Other) | |
| TAsyncResult & | operator= (TAsyncResult &&Other) |
| const TFuture< ResultType > & | GetFuture () const |
| TSharedPtr< IAsyncProgress > | GetProgess () const |
| TSharedPtr< IAsyncTask > | GetTask () const |
Template for asynchronous return values.
| ResultType | The return value's type. |
|
inline |
Default constructor.
|
inline |
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.
| Result | The result value to set. |
|
inline |
Creates and initializes a new instance
| InFuture | The future to set. |
| InProgress | The progress object (optional). |
| InTask | The task object object (optional). |
|
inline |
Move constructor.
|
inline |
Gets the future that will hold the result.
|
inline |
Get an object that indicates the progress of the task that is computing the result.
|
inline |
Get the asynchronous task that is computing the result.
|
inline |
Move assignment operator.