1.0.5 • Published 6 years ago

@reverse/debounce v1.0.5

Weekly downloads
13
License
-
Repository
-
Last release
6 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

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago