Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- FNoncopyable
- TPromiseBase
- TPromise< void >
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include | #include "Async/Future.h" |
Syntax
template<>
class TPromise< void > : public TPromiseBase< int >
Remarks
Template for promises (specialization for void results).
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EmplaceValue () |
Sets the promised result. | |
| TFuture< void > | GetFuture () |
Gets a TFuture object associated with the shared state of this promise. | |
| void | SetValue () |
Sets the promised result. | |
TPromise () |
Default constructor (creates a new shared state). | ||
| Move constructor. | |||
TPromise
(
TUniqueFunction< void()>&& CompletionCallback |
Create and initialize a new instance with a callback. |
Operators
Typedefs
| Name | Description |
|---|---|
| BaseType |