FEvent::Wait

Waits the specified amount of time for the event to be triggered.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/Event.h

Include

#include "HAL/Event.h"

Syntax

bool Wait
(
    const FTimespan & WaitTime,
    const bool bIgnoreThreadIdleStats
)

Remarks

Waits the specified amount of time for the event to be triggered.

Returns

true if the event was triggered, false if the wait timed out.

Parameters

Parameter

Description

WaitTime

The time to wait.

bIgnoreThreadIdleStats

If true, ignores ThreadIdleStats

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss