TFutureBase::Wait

Blocks the calling thread until the future result is available.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/Future.h

Include

#include "Async/Future.h"

Syntax

void Wait() const

Remarks

Blocks the calling thread until the future result is available.

that this method may block forever if the result is never set. Use the WaitFor or WaitUntil methods to specify a maximum timeout for the wait.

See Also

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