add an async subscriber impl with thread pool

This commit is contained in:
2026-01-13 03:00:32 +00:00
parent d2ef352ce9
commit 6d5e0f92ad
11 changed files with 425 additions and 0 deletions
@@ -0,0 +1,10 @@
#pragma once
template <typename TEventId, typename TEventInfo>
class Subscriber {
public:
virtual void onNotification(const TEventId& eventId,
const TEventInfo& eventInfo) = 0;
virtual ~Subscriber() = default;
};