Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async > API/Runtime/Core/Async/FTaskGraphInterface > API/Runtime/Core/Async/FTaskGraphInterface/WaitUntilTaskCompletes
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include | #include "Async/TaskGraphInterfaces.h" |
void WaitUntilTaskCompletes
&40;
const FGraphEventRef & Task,
ENamedThreads::Type CurrentThreadIfKnown
&41;
Remarks
Requests that a named thread, which must be this thread, run until a task is complete
Parameters
| Name | Description |
|---|---|
| Task | task to wait for |
| CurrentThread | This thread, must be a named thread |