31 #ifndef LEDGER_CORE_LAMBDAEVENTRECEIVER_HPP 32 #define LEDGER_CORE_LAMBDAEVENTRECEIVER_HPP 34 #include "EventPublisher.hpp" 41 void onEvent(
const std::shared_ptr<api::Event> &event)
override;
44 std::function<void (const std::shared_ptr<api::Event> &)> _function;
47 std::shared_ptr<LambdaEventReceiver> make_receiver(std::function<
void (
const std::shared_ptr<api::Event> &)> f);
52 #endif //LEDGER_CORE_LAMBDAEVENTRECEIVER_HPP Definition: EventReceiver.hpp:21
Definition: Account.cpp:8
Definition: LambdaEventReceiver.hpp:38