1.1.0 • Published 1 year ago

@three11/debounce v1.1.0

Weekly downloads
8
License
GPL-3.0
Repository
github
Last release
1 year ago

GitHub release GitHub issues GitHub last commit Build Status npm npm Analytics

Debounce

Debounce multiple function executions

Install

npm i @three11/debounce

or

yarn add @three11/debounce

Usage

First, import the module:

import debounce from '@three11/debounce';

Then use it to postpone a function's execution:

debounce(yourAwesomeFn());

Arguments

debounce(fn, wait, immediate) accepts three arguments:

  • fn : the function to debounce
  • wait : miliseconds to wait before running the fn again
  • immediate : whether the function should run immediately

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

1.1.0

1 year ago

1.0.0

3 years ago

0.7.0

5 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago