mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 18:51:02 +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
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user