Is there a way to call async functions (i.e. raw_rand()) within the function invoked by set_timer/set_timer_interval?