pub fn init_time_source(ts: Rc<dyn TimeSource>)Expand description
Set the platform time source used for time-budget accounting.
If no TimeSource is registered the executor runs every flush to
completion without yielding, which is acceptable for short-running
workloads but may cause frame drops in the browser.