Skip to content

an improved debounce implementation that fires immediately

Notifications You must be signed in to change notification settings

webpgr/debounce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

debounce with immediate response

call the debounced function immediately (on the first call), if the debounced function is called several times also call the function when the timer runs out, but only if this is not the first call

forked version of:

an improved debounce implementation

blogged about here http://modernjavascript.blogspot.com/2013/08/building-better-debounce.html

About

an improved debounce implementation that fires immediately

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%