|
YACLib
C++ library for concurrent tasks execution
|
#include <shared_future.hpp>
Public Member Functions | |
| SharedFuture (detail::SharedCorePtr< V, E > core) noexcept | |
| template<typename Func > | |
| auto | ThenInline (Func &&f) const |
Public Member Functions inherited from yaclib::SharedFutureBase< V, E > | |
| SharedFutureBase ()=default | |
| bool | Valid () const noexcept |
| bool | Ready () const noexcept |
| Result< V, E > | Get () &&noexcept |
| void | Get () const &&=delete |
| const Result< V, E > & | Get () const &noexcept |
| Result< V, E > | Touch () &&noexcept |
| void | Touch () const &&=delete |
| const Result< V, E > & | Touch () const &noexcept |
| template<typename Func > | |
| auto | Then (IExecutor &e, Func &&f) const |
| void | Detach () &&noexcept |
| template<typename Func > | |
| void | SubscribeInline (Func &&f) const |
| template<typename Func > | |
| void | Subscribe (IExecutor &e, Func &&f) const |
| detail::SharedCorePtr< V, E > & | GetCore () noexcept |
| const detail::SharedCorePtr< V, E > & | GetCore () const noexcept |
| detail::SharedHandle | GetHandle () const noexcept |
Additional Inherited Members | |
Public Types inherited from yaclib::SharedFutureBase< V, E > | |
| using | Handle = detail::SharedHandle |
| using | Core = detail::SharedCore< V, E > |
Protected Member Functions inherited from yaclib::SharedFutureBase< V, E > | |
| SharedFutureBase (detail::SharedCorePtr< V, E > core) noexcept | |
Protected Attributes inherited from yaclib::SharedFutureBase< V, E > | |
| detail::SharedCorePtr< V, E > | _core |
Definition at line 121 of file shared_future.hpp.
|
inlinenoexcept |
Definition at line 128 of file shared_future.hpp.
|
inline |
Definition at line 132 of file shared_future.hpp.
References yaclib::MakeContract().