Clio develop
The XRP Ledger API server.
|
Unstoppable outcome. More...
#include <Outcome.hpp>
Public Member Functions | |
impl::BasicOperation< Outcome > | getOperation () |
Gets the unstoppable operation for this outcome. | |
![]() | |
BasicOutcome (BasicOutcome &&)=default | |
BasicOutcome (BasicOutcome const &)=delete | |
void | setValue (std::convertible_to< RetType > auto &&val) |
Sets the value on the inner promise | |
void | setValue () |
Sets the value channel for void operations. | |
std::future< RetType > | getStdFuture () |
Get the future for the inner promise | |
Additional Inherited Members | |
![]() | |
using | DataType = RetType |
![]() | |
std::promise< RetType > | promise_ |
Unstoppable outcome.
RetType | The return type of the operation. |
|
inlinenodiscard |
Gets the unstoppable operation for this outcome.