Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskGraphInterface
Description
Requests that a named thread actively attempt to process a list of tasks and periodically call an update function when idle. This function assumes that many of the tasks can be completed on this thread.
| Name | ProcessUntilTasksComplete |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
bool ProcessUntilTasksComplete
(
const FGraphEventArray & Tasks,
ENamedThreads::Type CurrentThreadIfKnown,
const FProcessTasksUpdateCallback & IdleWorkUpdate
)
true if all tasks were completed, return false if StopProcessing was returned or it failed to process all tasks
Parameters
| Name | Remarks |
|---|---|
| Tasks | tasks to wait for |
| CurrentThread | This thread, must be a named thread |
| IdleWorkUpdate | If set, call this function after trying to process named thread work if any tasks are stalled |