eggheadio-github / stack-overflow-copy-paste

Utility functions copy/pasted (and modified slightly) from Stack Overflow
441 stars 606 forks source link

feat(debounce): add 'debounce' function #191

Closed ordazgustavo closed 6 years ago

ordazgustavo commented 6 years ago

Added a debounce function to prevent multiple function calls at a time

190

codecov-io commented 6 years ago

Codecov Report

Merging #191 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #191   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          71     72    +1     
  Lines         278    291   +13     
=====================================
+ Hits          278    291   +13
Impacted Files Coverage Δ
src/debounce.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7808a04...5dfa431. Read the comment docs.

ordazgustavo commented 6 years ago

Thanks a lot! @kentcdodds 👍