@nexapp/debounce-await
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Installation

$ npm install @nexapp/debounce-await --save

or

$ yarn add @nexapp/debounce-await

Usage

Like debounce, but instead of using a delay, it's based on promises' resolve status.

Eg: If you execute a promise twice, but the first promise has not resolved, it won't trigger the second one.

For code examples, please refer to the tests.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @nexapp/debounce-await

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

5.36 kB

Total Files

6

Last publish

Collaborators

  • jgdoyon-nexapp
  • pluc_nexapp
  • mbergeron
  • tristanod
  • hsebouai-nexapp
  • sebdufbeau
  • gabsima-nexapp
  • drichard-nexapp