Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/FDelegateGraphTask > API/Runtime/Core/Async/FDelegateGraphTask/CreateAndDispatchWhenReady
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include | #include "Async/TaskGraphInterfaces.h" |
static FGraphEventRef CreateAndDispatchWhenReady
&40;
const FDelegate & InTaskDeletegate,
const TStatId InStatId,
const FGraphEventRef & InPrerequisite,
ENamedThreads::Type InCurrentThreadIfKnown,
ENamedThreads::Type InDesiredThread
&41;
Remarks
Create a task and dispatch it when the prerequisites are complete completion handle for the new task
Parameters
| Name | Description |
|---|---|
| InTaskDelegate | delegate to execute when the prerequisites are complete |
| InStatId | The stat id for this task. |
| InPrerequisite | Handle for a single prerequisite for this task |
| InCurrentThreadIfKnown | This thread, if known |
| InDesiredThread | Thread to run on |