Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TFutureBase
Description
Blocks the calling thread until the future result is available or the specified duration is exceeded.
| Name | WaitFor |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/Future.h |
| Include Path | #include "Async/Future.h" |
bool WaitFor
(
const FTimespan & Duration
) const
true if the result is available, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Duration | The maximum time span to wait for the future result. |
See Also
-
WaitUntil