GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TanStack-dev/pacer: Utilities for debouncing, throttling, rate limiting, and queueing. Non-async and Async.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

103 Commits
103 Commits

Folders and files

NameName
Last commit message
Last commit date
.changeset
.changeset
 
 
.cursor
.cursor
 
 
.github
.github
 
 
.nx/workflows
.nx/workflows
 
 
.vscode
.vscode
 
 
docs
docs
 
 
examples
examples
 
 
packages
packages
 
 
scripts
scripts
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
knip.json
knip.json
 
 
nx.json
nx.json
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
prettier.config.js
prettier.config.js
 
 
translation.config.mjs
translation.config.mjs
 
 
tsconfig.json
tsconfig.json
 
 
vitest.workspace.js
vitest.workspace.js
 
 

Repository files navigation

TanStack Pacer Header

TanStack Pacer v0

Utilities for debouncing, throttling, rate limiting, queuing, and more.

#TanStack semantic-release Join the discussion on Github

Enjoy this library?

Try other TanStack libraries:

  • TanStack Router
  • TanStack Query
  • TanSack Table
  • TanStack Virtual
  • TanStack Form
  • TanStack Store
  • TanStack Ranger
  • TanStack Pacer
  • TanStack Config

Visit tanstack.com/pacer for docs, guides, API and more!

You may know TanSack Pacer by our adapter names, too!

  • React Pacer
  • Solid Pacer
  • Angular Pacer - needs a contributor!
  • Preact Pacer - Coming soon! (After React Pacer is more fleshed out)
  • Svelte Pacer - needs a contributor!
  • Vue Pacer - needs a contributor!

Summary

Take control of your application's timing with TanStack Pacer's rate limiting, throttling, and debouncing utilities. Manage complex async workflows using intelligent queuing and concurrency controls while maintaining full control with built-in pause, resume, and cancel capabilities.

Quick Features

  • Debouncing
    • Delay functions execution until after a period of inactivity
    • Synchronous or Asynchronous Debounce utilities with promise support and error handling
  • Throttling
    • Limit the rate at which a function can fire
    • Synchronous or Asynchronous Throttle utilities with promise support and error handling
  • Rate Limiting
    • Limit the rate at which a function can fire
    • Synchronous or Asynchronous Rate Limiting utilities with promise support and error handling
    • Fixed or Sliding window types
  • Queuing
    • Queue functions to be executed in a specific order
    • Choose from FIFO, LIFO, and Priority queue implementations
    • Control processing with configurable wait times or concurrency limits
    • Manage queue execution with start/stop capabilities
    • Synchronous or Asynchronous Queue utilities with promise support and success, settled, and error, handling
  • Comparison Utilities
    • Perform deep equality checks between values
    • Create custom comparison logic for specific needs
  • Convenient Hooks
    • Reduce boilerplate code with pre-built hooks like useDebouncedCallback, useThrottledValue, and useQueuedState, and more.
  • Type Safety
    • Full type safety with TypeScript that makes sure that your functions will always be called with the correct arguments
    • Generics for flexible and reusable utilities
  • Framework Adapters
    • React, Solid, and more
  • Tree Shaking
    • We, of course, get tree-shaking right for your applications by default, but we also provide extra deep imports for each utility, making it easier to embed these utilities into your libraries without increasing the bundle-phobia reports of your library.

Installation

Install one of the following packages based on your framework of choice:

# Npm
npm install @tanstack/react-pacer
npm install @tanstack/solid-pacer
npm install @tanstack/pacer # no framework, just vanilla js

How to help?

Become a Sponsor

About

Utilities for debouncing, throttling, rate limiting, and queueing. Non-async and Async.

tanstack.com/pacer

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.