ADTF
3.18.2
|
Namespace for all functionality provided since v3.12. More...
Functions | |
template<typename Callable > | |
bool | wait_until (Callable &&oCallable, std::chrono::milliseconds tmTimeOut, std::chrono::milliseconds tmInterval=std::chrono::milliseconds{100}) |
Repeateatly calls oCallable until either it returns true or the timeout expires. More... | |
Namespace for all functionality provided since v3.12.
bool adtf::testing::mega::wait_until | ( | Callable && | oCallable, |
std::chrono::milliseconds | tmTimeOut, | ||
std::chrono::milliseconds | tmInterval = std::chrono::milliseconds{100} |
||
) |
Repeateatly calls oCallable until either it returns true or the timeout expires.
[in] | oCallable | The condition that should be checked for. |
[in] | tmTimeOut | The timeout to wait for. |
[in] | tmInterval | The interval at which the condition should be reevaluated. |
Callable | A callable. |
Definition at line 28 of file wait_until.h.