From 69ac64a3ee2f9b907e59d052059f1d2fb67b7935 Mon Sep 17 00:00:00 2001 From: Dawid Drozd Date: Sun, 12 Apr 2020 14:47:05 +0200 Subject: [PATCH] Add comments --- lib/src/dexode/eventbus/perk/WaitPerk.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/src/dexode/eventbus/perk/WaitPerk.hpp b/lib/src/dexode/eventbus/perk/WaitPerk.hpp index af7b0b6..e89126c 100644 --- a/lib/src/dexode/eventbus/perk/WaitPerk.hpp +++ b/lib/src/dexode/eventbus/perk/WaitPerk.hpp @@ -20,7 +20,15 @@ namespace dexode::eventbus::perk class WaitPerk : public Perk { public: + /** + * @return true when events are waiting in bus + */ bool wait(); + + /** + * @param timeout + * @return true when events are waiting in bus + */ bool waitFor(std::chrono::milliseconds timeout); Flag onPostponeEvent(PostponeHelper& postponeCall);