Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

t-throttle

hg-pyun4MIT0.0.2

Tiny throttle

throttle, tiny, library

readme

t-throttle

npm npm NPM

The tiny throttle function.

Installation

`shell script $ npm install t-throttle --save


## How to use

```js
const throttle = require('t-throttle');
const thFunc = throttle(() => {
  console.log('exec');
}, 1000);

for (let i = 0; i < 100; i++) {
  thFunc();
}