push-it-to-the-limit
Version:
Delay function wrappers for common purposes. Throttle, debounce and ratelimit with promises
11 lines (10 loc) • 446 B
TypeScript
export * from './interface';
export * from './common';
export { DEFAULT_DELAY, REJECTED, REJECTED_ON_CANCEL } from './common';
export { Limiter } from './limiter';
export { debounce } from './wrappers/debounce';
export { delay } from './wrappers/delay';
export { ratelimit } from './wrappers/ratelimit';
export { repeat } from './wrappers/repeat';
export { stabilize } from './wrappers/stabilize';
export { throttle } from './wrappers/throttle';