27template <
typename Callable>
29 std::chrono::milliseconds tmTimeOut,
30 std::chrono::milliseconds tmInterval = std::chrono::milliseconds{100})
32 auto tmStart = std::chrono::high_resolution_clock::now();
40 if (std::chrono::high_resolution_clock::now() - tmStart > tmTimeOut)
45 std::this_thread::sleep_for(tmInterval);
Namespace for the ADTF Testing SDK.
Definition test_runtime.h:27
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
bool wait_until(Callable &&oCallable, std::chrono::milliseconds tmTimeOut, std::chrono::milliseconds tmInterval=std::chrono::milliseconds{100})
Definition wait_until.h:28