1.0.3 • Published 6 years ago

waitting-execut v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

waitting-execut

Install

npm install waitting-execut

Simple timeout handling:

let timer = new WaittingExecut({
	waitTime: 1000,
	callBack: () => console.log(1)
})

you can trigger by yoourself:

timer.execut();

also you can cencel it:

timer.abort();

or reset:

timer.reset();

if you want to change another timer and cancel your last timer:

timer.refresh({
	waitTime: 1000,
	callBack: () => console.log(2)
});
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago