This commit is contained in:
Sven Luethi committed 2021-04-07 15:12:47 +02:00
1 parent 0856548414
commit 5c297f5877
2 files changed
+39 -7

No files matched your search

+4 -1
View File
@@ -39,7 +39,10 @@ Event& EventBus::registerEvent(const string& eventID) {
}
void EventBus::run() {
_logger.warn.ln("Hi from EventBus run method, from within Event Thread!");
while (true) {
std::this_thread::sleep_for(std::chrono::seconds(5));
_logger.warn.ln("EventBus: Looping...");
}
}
// =============================== Event Class ================================