1.0.4 • Published 5 years ago
woody-woodpecker v1.0.4
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