![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Future.h>
Inheritance diagram for TSharedFuture< ResultType >:Public Member Functions | |
| TSharedFuture ()=default | |
| TSharedFuture (TFuture< ResultType > &&Future) | |
| ConstResultType | Get () const |
Public Member Functions inherited from TFutureBase< ResultType > | |
| ConstResultType | Get () const |
| ConstResultType | Get () const UE_LIFETIMEBOUND |
| bool | IsReady () const |
| bool | IsValid () const |
| void | Wait () const |
| bool | WaitFor (const FTimespan &Duration) const |
| bool | WaitUntil (const FDateTime &Time) const |
Friends | |
| template<typename > | |
| class | TFuture |
Additional Inherited Members | |
Public Types inherited from TFutureBase< ResultType > | |
| using | MutableResultType = typename StateType::MutableResultType |
| using | ConstResultType = typename StateType::ConstResultType |
| using | RvalueResultType = typename StateType::RvalueResultType |
Protected Types inherited from TFutureBase< ResultType > | |
| using | StateType = TFutureState< ResultType > |
Protected Member Functions inherited from TFutureBase< ResultType > | |
| TFutureBase ()=default | |
| TFutureBase (TSharedPtr< StateType > &&InState) | |
| TFutureBase (const TSharedPtr< StateType > &InState) | |
| const TSharedPtr< StateType > & | GetState () const |
| template<typename Func > | |
| auto | Then (Func Continuation) |
| template<typename Func > | |
| auto | Next (Func Continuation) |
| void | Reset () |
Template for shared futures.
|
default |
Default constructor.
|
inline |
Creates and initializes a new instances from a future object.
| Future | The future object to initialize from. |
|
inline |
Gets the future's result.