@witzbould/utils-debounce

2.2.2 • Public • Published

Debounce

Returns a function, that, as long as it continues to be invoked, will not be triggered. The function will be called after it stops being called for N milliseconds. If immediate is passed, trigger the function on the leading edge, instead of the trailing.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @witzbould/utils-debounce

      Weekly Downloads

      0

      Version

      2.2.2

      License

      ISC

      Unpacked Size

      2.37 kB

      Total Files

      4

      Last publish

      Collaborators

      • witzbould