ledger-core
|
Public Member Functions | |
void | subscribe (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< api::EventReceiver > &receiver) override |
void | unsubscribe (const std::shared_ptr< api::EventReceiver > &receiver) override |
![]() | |
virtual void | subscribe (const std::shared_ptr< ExecutionContext > &context, const std::shared_ptr< EventReceiver > &receiver)=0 |
virtual void | unsubscribe (const std::shared_ptr< EventReceiver > &receiver)=0 |
![]() | |
DedicatedContext (const std::shared_ptr< api::ExecutionContext > &context) | |
template<typename T > | |
Future< T > | async (std::function< T()> f) |
template<typename T > | |
Future< T > | async (std::function< T()> f) const |
Future< Unit > | run (std::function< void()> f) |
std::shared_ptr< api::ExecutionContext > | getContext () const |
Friends | |
class | EventPublisher |
Additional Inherited Members | |
![]() | |
std::shared_ptr< api::ExecutionContext > | _executionContext |