mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 10:41:01 +08:00
Add comments
This commit is contained in:
parent
9cab181cab
commit
69ac64a3ee
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user