src/ui/a11y/lib/screen_reader/speaker.cc
// Delays the task by |delay| msec, resuming its execution after.
Delays the task by |delay| msec, resuming its execution after.
Delays the task by |delay| msec resuming its execution after .
void DelayTask(int64_t delay, fit::suspended_task task) {
  std::thread([delay, task]() mutable {
    std::this_thread::sleep_for(std::chrono::milliseconds(delay));
    task.resume_task();
  }).detach();
}
void DelayTask ( int64_t delay , fit :: suspended_task task ) { std :: thread ( [ delay , task ] ( ) mutable { std :: this_thread :: sleep_for ( std :: chrono :: milliseconds ( delay ) ) ; task . resume_task ( ) ; } ) . detach ( ) ; }
Delays the task by |delay| msec, resuming its execution after.
Delays the task by |delay| msec resuming its execution after .