|
TARAXA
|
#include <event.hpp>

Classes | |
| class | State |
Public Types | |
| using | Handler = std::function< void(Payload const &)> |
Public Member Functions | |
| auto | subscribe (Handler &&handler, std::shared_ptr< util::ThreadPool > execution_context) const |
| auto | unsubscribe (uint64_t subscription_id) const |
Protected Member Functions | |
| EventSubscriber ()=default | |
Protected Attributes | |
| class taraxa::util::event::EventSubscriber::State | state_ |
| using taraxa::util::event::EventSubscriber< Payload >::Handler = std::function<void(Payload const &)> |
|
protecteddefault |
|
inline |
|
inline |
|
protected |