/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h
Run some code latently with a predicate lambda. If the predicate returns false, the latent action will be called again next frame. If it returns true, the command will stop running.
class FFunctionLatentCommand : public [IAutomationLatentCommand](API\Runtime\Core\Misc\IAutomationLatentCommand)