Navigation
API > API/Runtime > API/Runtime/Core
Description
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.
| Name | UE::Tasks::Private::TryRetractAndExecute |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
| Include Path | #include "Tasks/TaskPrivate.h" |
namespace UE
{
namespace Tasks
{
namespace Private
{
template<typename TaskCollectionType>
bool UE::Tasks::Private::TryRetractAndExecute
(
const TaskCollectionType & Tasks,
FTimeout Timeout
)
}
}
}