Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
FGraphEventRef CreatePrerequisiteCompletionHandle
(
ENamedThreads::Type CurrentThread
)
Create a completion handle that represents the completion of all pending tasks This is complicated by the fact that some of the tasks we are waiting for might also add tasks So it is recursive and the task we call here uses DontCompleteUntil to build the chain this should always be called from the same thread.
The task that when completed, indicates all tasks in the list are completed, including any tasks they added recursively. Will be a NULL reference if there are no tasks