|
Clio
develop
The XRP Ledger API server.
|
Stoppable outcome. More...
#include <Outcome.hpp>


Public Member Functions | |
| StoppableOperation< RetType, StopSourceType > | getOperation () |
| Gets the stoppable operation for this outcome. | |
| StopSourceType & | getStopSource () |
| Gets the stop source for this outcome. | |
| Public Member Functions inherited from util::async::impl::BasicOutcome< RetType > | |
| 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 | |
| Public Types inherited from util::async::impl::BasicOutcome< RetType > | |
| using | DataType = RetType |
| Protected Attributes inherited from util::async::impl::BasicOutcome< RetType > | |
| std::promise< RetType > | promise_ |
Stoppable outcome.
| RetType | The return type of the operation. |
| StopSourceType | The type of the stop source. |
|
inlinenodiscard |
Gets the stoppable operation for this outcome.
|
inlinenodiscard |
Gets the stop source for this outcome.