FTaskGraphInterface::WaitUntilTasksComplete

Requests that a named thread, which must be this thread, run until a list of tasks is complete.