/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h
Sleep thread until condition is satisfied.
static void ConditionalSleep ( [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool()> Condition, float SleepTime )