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