Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::impl::ErasedOperation Class Reference

Public Member Functions

template<SomeOperation OpType>
requires (not std::is_same_v<std::decay_t<OpType>, ErasedOperation>)
 ErasedOperation (OpType &&operation)
 
 ErasedOperation (ErasedOperation const &)=delete
 
 ErasedOperation (ErasedOperation &&)=default
 
ErasedOperationoperator= (ErasedOperation const &)=delete
 
ErasedOperationoperator= (ErasedOperation &&)=default
 
void wait () noexcept
 
std::expected< std::any, ExecutionErrorget ()
 
void abort ()
 Cancel if needed and request stop as soon as possible.
 

The documentation for this class was generated from the following file: