Skip to content

Pecker function, which run some callback with some timeout and cleared in some timeout. Can be used to make backand requests till some result and back doesn't provide a WS.

License

Notifications You must be signed in to change notification settings

Valentin1918/pecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pecker

Pecker function, which run some callback with some timeout and cleared in some timeout. Can be used to make backand requests till some result and back doesn't provide a WS.

Usage:

pecker.work(callBack, peckInterval, dieInterval); // -> to start pecker
pecker.clear(); // -> to clear pecker

wood-pecker

About

Pecker function, which run some callback with some timeout and cleared in some timeout. Can be used to make backand requests till some result and back doesn't provide a WS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published