1.0.5 • Published 4 years ago

@reverse/debounce v1.0.5

Weekly downloads
13
License
-
Repository
-
Last release
4 years ago

@reverse/debounce

Debounce, Throttle, and Queue Execution Factories

You can install with nodejs and npm

npm i @reverse/emitter

Table of Contents**

debounce

import { debounce } from '@reverse/debounce';

function thing() {
  console.log('Thing was ran!');
}

const debouncedThing = debounce(thing, 500);

throttle

import { throttle } from '@reverse/debounce';

function thing() {
  console.log('Thing was ran!');
}

const throttledThing = throttle(thing, 500);

queueExec

import { queueExec } from '@reverse/debounce';

function thing() {
  console.log('Thing was ran!');
}

const queuedThing = queueExec(thing, 500);
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago