Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskGraphInterface
Description
Requests that a named thread, which must be this thread, run until a list of tasks is complete. This function assumes that most of the tasks will be processed on a different thread, but will process if needed.
| Name | WaitUntilTasksComplete |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
void WaitUntilTasksComplete
(
const FGraphEventArray & Tasks,
ENamedThreads::Type CurrentThreadIfKnown
)
Parameters
| Name | Remarks |
|---|---|
| Tasks | tasks to wait for |
| CurrentThread | This thread, must be a named thread |