Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/TEventCount
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/EventCount.h |
| Include | #include "Async/EventCount.h" |
bool WaitUntil
&40;
TEventCountToken< CounterType > Compare,
FMonotonicTimePoint WaitTime
&41;
Remarks
Wait until the event is notified. Returns immediately if notified since the token was acquired. True if the event was notified before the wait time elapsed, otherwise false.
Parameters
| Name | Description |
|---|---|
| Compare | A token acquired from PrepareWait() before checking the conditions for this wait. |
| WaitTime | Absolute time after which waiting is automatically canceled and the thread wakes. |