libkazv
|
#include <asio-promise-handler.hpp>
Public Member Functions | |
AsioPromise (Exec executor, T value) | |
template<class Func > | |
AsioPromise (Exec executor, Func &&callback) | |
template<class FuncT > | |
auto | then (FuncT &&func) -> AsioPromise< Exec, PromiseThenResult< FuncT, typename BaseT::DataT >> |
bool | ready () const |
T | get () const |
Public Member Functions inherited from Kazv::AbstractPromise< detail::AsioPromiseHelper< Exec >::template PromiseType, T > | |
AbstractPromise (detail::AsioPromiseHelper< Exec >::template PromiseType< T > *obj) | |
auto | then (FuncT &&func) -> detail::AsioPromiseHelper< Exec >::template PromiseType< PromiseThenResult< FuncT, DataT >> |
Additional Inherited Members | |
Public Types inherited from Kazv::AbstractPromise< detail::AsioPromiseHelper< Exec >::template PromiseType, T > | |
using | DataT = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |