Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Functions | |
template<typename L > | |
bool | poll (unsigned int timeoutMillis, L lambda) |
template<typename L > | |
bool | poll (L lambda) |
Variables | |
constexpr unsigned int | defaultTimeout {20000} |
|
inline |
poll until the lambda returns true or the defaultTimeout occurs. If the timeout occurs then the function will return false. Otherwise it will return true.
poll until the lambda returns true or the timeout occurs. If the timeout occurs then the function will return false. Otherwise it will return true.
|
constexpr |
This is usually enough time for the condition to have occurred in a test.