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