FTimeout

Utility class to handle timeouts usage:

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function

FTimeout

(
    FTimespan Value
)

Functions

Operators

Name Description

Public function Const

 

operator bool()