This module provides Async wrappers for timer functions, like, setTimeout, setInterval and requestIdleCallback.
setTimeout
setInterval
requestIdleCallback
import Async from 'core/async';const watcher = new Async();watcher.setTimeout(() => { console.log('bla');}, 100);
core/async/modules/timers
This module provides Async wrappers for timer functions, like,
setTimeout
,setInterval
andrequestIdleCallback
.