You can check the timer value periodically with get_ms_clock_value.
Or, for your case:
int aux = INT_MIN;
if (should_run_polling_action(10000, &aux)) ...
This call is not blocking, so you can use it from vsync without pausing LiveView.
Or, for your case:
int aux = INT_MIN;
if (should_run_polling_action(10000, &aux)) ...
This call is not blocking, so you can use it from vsync without pausing LiveView.