timer-promise
Promise version of setTimeout and clearTimeout
You can start and stop timer like this.
var timer = ; timerstart'foo' 5000 ;...timer;
instead of
var timeoutId = ;...;
Promise version of setTimeout and clearTimeout
You can start and stop timer like this.
var timer = ; timerstart'foo' 5000 ;...timer;
instead of
var timeoutId = ;...;
npm i timer-promise
1
0.0.2
none