Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::concepts::EventHandler Concept Reference

A callable that can handle events of a specific type. More...

#include <event_bus_interface.h>

Concept definition

template<typename H, typename E>
std::invocable<H, const E&> && std::is_void_v<std::invoke_result_t<H, const E&>>
A callable that can handle events of a specific type.

Detailed Description

A callable that can handle events of a specific type.

Event handlers receive events by const reference and return void. They should not throw exceptions to avoid disrupting event dispatch.

Definition at line 62 of file event_bus_interface.h.