Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskBase_1
Description
Tries to pull out the task from the system and execute it. If the task is locked by either prerequisites or nested tasks, tries to retract and execute them recursively. WARNING: the function can return true_ even if the task is not completed yet. The true_ means only that the task is already executed and has no other pending dependencies, but can be in the process of completion (concurrently). The caller still needs to wait for completion explicitly.
| Name | TryRetractAndExecute |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
| Include Path | #include "Tasks/TaskPrivate.h" |
| Source | /Engine/Source/Runtime/Core/Private/Tasks/TaskPrivate.cpp |
bool TryRetractAndExecute
(
FTimeout Timeout,
uint32 RecursionDepth
)