Navigation
Unreal Engine C++ API Reference > Developer > AutomationDriver > Until > Condition
References
Module | AutomationDriver |
Header | /Engine/Source/Developer/AutomationDriver/Public/WaitUntil.h |
Include | #include "WaitUntil.h" |
Source | /Engine/Source/Developer/AutomationDriver/Private/WaitUntil.cpp |
static [FDriverWaitDelegate](API\Developer\AutomationDriver\FDriverWaitDelegate) Condition ( const [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< bool()> & Function, [FWaitInterval](API\Developer\AutomationDriver\FWaitInterval) Interval, [FWaitTimeout](API\Developer\AutomationDriver\FWaitTimeout) Timeout )
Remarks
Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses The lambda is only re-evaluated at the specified wait interval