Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
Include | #include "Tasks/TaskPrivate.h" |
namespace UE
{
namespace Tasks
{
namespace Private
{
template<typename TaskCollectionType>
bool UE&58;&58;Tasks&58;&58;Private&58;&58;TryRetractAndExecute
&40;
const TaskCollectionType & Tasks,
FTimeout Timeout
&41;
}
}
}
Remarks
Task retraction of multiple tasks, with timeout. The timeout is rounded up to any successful task execution, which means that it can time out only in-between individual task retractions. WARNING: the function can return true_ even if some tasks are still not completed. The
true_ means only that the tasks are executed and have no other pending dependencies, but can be still in the process of completion (concurrently). The caller still needs to wait for completion.