Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FEvent > API/Runtime/Core/HAL/FEvent/Wait
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/Event.h |
| Include | #include "HAL/Event.h" |
bool Wait
(
const FTimespan & WaitTime,
const bool bIgnoreThreadIdleStats
)
Remarks
Waits the specified amount of time for the event to be triggered. true if the event was triggered, false if the wait timed out.
Parameters
| Name | Description |
|---|---|
| WaitTime | The time to wait. |
| bIgnoreThreadIdleStats | If true, ignores ThreadIdleStats |