| FNoncopyable
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/Future.h |
Include |
#include "Async/Future.h" |
template<typename ResultType>
class TPromise : public TPromiseBase< ResultType >
Template for promises.
Name | Description | |
---|---|---|
|
TPromise() |
Default constructor (creates a new shared state). |
|
TPromise ( |
Move constructor. |
|
TPromise ( |
Create and initialize a new instance with a callback. |
Name | Description | ||
---|---|---|---|
|
EmplaceValue ( |
Sets the promised result. |
|
|
TFuture< Res... |
GetFuture() |
Gets a TFuture object associated with the shared state of this promise. |
|
SetValue ( |
Sets the promised result. |
|
|
SetValue ( |
Sets the promised result (from rvalue). |
Name |
Description |
---|---|
BaseType |