Add comments

This commit is contained in:
Dawid Drozd 2020-04-12 14:47:05 +02:00
parent 9cab181cab
commit 69ac64a3ee

View File

@ -20,7 +20,15 @@ namespace dexode::eventbus::perk
class WaitPerk : public Perk class WaitPerk : public Perk
{ {
public: public:
/**
* @return true when events are waiting in bus
*/
bool wait(); bool wait();
/**
* @param timeout
* @return true when events are waiting in bus
*/
bool waitFor(std::chrono::milliseconds timeout); bool waitFor(std::chrono::milliseconds timeout);
Flag onPostponeEvent(PostponeHelper& postponeCall); Flag onPostponeEvent(PostponeHelper& postponeCall);