Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Timeout.h |
Include | #include "Misc/Timeout.h" |
Syntax
class FTimeout
Remarks
Utility class to handle timeouts usage:
FTimeout Timeout(FTimespan::FromMilliseconds(2)); while (!Timeout) { ... }
Constructors
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FTimespan | ||
![]() ![]() |
uint32 | Intended for use in waiting functions, e.g. `FEvent::Wait()_ returns the whole number (rounded up) of remaining milliseconds, clamped into [0, MAX_uint32] range | |
![]() ![]() |
FTimespan | ||
![]() ![]() |
FTimespan | ||
![]() ![]() |
FTimeout | Never () |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |