@open-react-hooks/use-throttle

0.0.7 • Public • Published

@open-react-hooks/use-throttle

Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.

Readme

Keywords

none

Package Sidebar

Install

npm i @open-react-hooks/use-throttle

Weekly Downloads

12

Version

0.0.7

License

MIT

Unpacked Size

3.77 kB

Total Files

4

Last publish

Collaborators

  • wootsbot