/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h
void WaitUntilTaskCompletes ( FGraphEventRef && Task, [ENamedThreads::Type](API\Runtime\Core\Async\ENamedThreads__Type) CurrentThreadIfKnown )