Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks > FTaskBase
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
Include | #include "Tasks/TaskPrivate.h" |
Source | /Engine/Source/Runtime/Core/Private/Tasks/TaskPrivate.cpp |
bool TryRetractAndExecute
&40;
FTimeout Timeout,
uint32 RecursionDepth
&41;
Remarks
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.