/Engine/Source/Runtime/Core/Public/Tasks/Pipe.h
Waits until the pipe is empty (its last task is executed) should be used only after no more tasks are launched in the pipe, e.g. preparing for the pipe destruction
bool WaitUntilEmpty ( [FTimespan](API\Runtime\Core\Misc\FTimespan) Timeout )