Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
Include |
#include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
(
TUniqueFunction< void()> InFunction,
const TStatId InStatId,
const FGraphEventArray * InPrerequisites,
ENamedThreads::Type InDesiredThread
)
Create a task and dispatch it when the prerequisites are complete
completion handle for the new task
Parameter |
Description |
---|---|
InTaskDelegate |
delegate to execute when the prerequisites are complete |
InStatId |
StatId of task for debugging or analysis tools |
InPrerequisites |
Handles for prerequisites for this task, can be NULL if there are no prerequisites |
InDesiredThread |
Thread to run on |