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);