Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskHandle
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Wait () |
Waits for task's completion without timeout. | Tasks/Task.h | |
| Waits for task's completion with timeout. | Tasks/Task.h |
Wait()
Description
Waits for task's completion without timeout. Tries to retract the task and execute it in-place, if failed - blocks until the task is completed by another thread.
| Name | Wait |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/Task.h |
| Include Path | #include "Tasks/Task.h" |
bool Wait() const
true if the task is completed
Wait(FTimespan)
Description
Waits for task's completion with timeout. Tries to retract the task and execute it in-place, if failed - blocks until the task is completed by another thread. If timeout is zero, tries to retract the task and returns immedially after that.
| Name | Wait |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/Task.h |
| Include Path | #include "Tasks/Task.h" |
bool Wait
(
FTimespan Timeout
) const
true if the task is completed