Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FSingleThreadEvent
- FEvent::Wait()
- FSingleThreadEvent::Wait()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/SingleThreadEvent.h |
| Include | #include "Misc/SingleThreadEvent.h" |
virtual bool Wait
&40;
uint32 WaitTime,
const bool bIgnoreThreadIdleStats
&41;
Remarks
Waits the specified amount of time for the event to be triggered.
A wait time of MAX_uint32 is treated as infinite wait. true if the event was triggered, false if the wait timed out.
Parameters
| Name | Description |
|---|---|
| WaitTime | The time to wait (in milliseconds). |
| bIgnoreThreadIdleStats | If true, ignores ThreadIdleStats |