📄 tanstack/pacer/latest/docs/reference/interfaces/AsyncDebouncerState

File: AsyncDebouncerState.md | Updated: 11/15/2025

Source: https://tanstack.com/pacer/latest/docs/reference/interfaces/AsyncDebouncerState



TanStack

Pacer v0v0

Search...

+ K

Auto

Log In

TanStack StartRC

Docs Examples GitHub Contributors

TanStack Router

Docs Examples GitHub Contributors

TanStack Query

Docs Examples GitHub Contributors

TanStack Table

Docs Examples Github Contributors

TanStack Formnew

Docs Examples Github Contributors

TanStack DBbeta

Docs Github Contributors

TanStack Virtual

Docs Examples Github Contributors

TanStack Paceralpha

Docs Examples Github Contributors

TanStack Storealpha

Docs Examples Github Contributors

TanStack Devtoolsalpha

Docs Github Contributors

More Libraries

Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide

Documentation

Framework

React logo

React

Version

Latest

Search...

+ K

Menu

Getting Started

Guides

API Reference

Debouncer API Reference

Throttler API Reference

Rate Limiter API Reference

Queue API Reference

Batcher API Reference

Debouncer Examples

Throttler Examples

Rate Limiter Examples

Queue Examples

Batcher Examples

TanStack Query Examples

Framework

React logo

React

Version

Latest

Menu

Getting Started

Guides

API Reference

Debouncer API Reference

Throttler API Reference

Rate Limiter API Reference

Queue API Reference

Batcher API Reference

Debouncer Examples

Throttler Examples

Rate Limiter Examples

Queue Examples

Batcher Examples

TanStack Query Examples

On this page

AsyncDebouncerState

Copy Markdown

Interface: AsyncDebouncerState<TFn>
===================================

Defined in: async-debouncer.ts:8

Type Parameters
---------------
### TFn

TFn extends AnyAsyncFunction

Properties
----------
### canLeadingExecute

ts

canLeadingExecute: boolean;


canLeadingExecute: boolean;

Defined in: async-debouncer.ts:12

Whether the debouncer can execute on the leading edge of the timeout


### errorCount

ts

errorCount: number;


errorCount: number;

Defined in: async-debouncer.ts:16

Number of function executions that have resulted in errors


### isExecuting

ts

isExecuting: boolean;


isExecuting: boolean;

Defined in: async-debouncer.ts:20

Whether the debounced function is currently executing asynchronously


### isPending

ts

isPending: boolean;


isPending: boolean;

Defined in: async-debouncer.ts:24

Whether the debouncer is waiting for the timeout to trigger execution


### lastArgs

ts

lastArgs: Parameters<TFn> | undefined;


lastArgs: Parameters<TFn> | undefined;

Defined in: async-debouncer.ts:28

The arguments from the most recent call to maybeExecute


### lastResult

ts

lastResult: ReturnType<TFn> | undefined;


lastResult: ReturnType<TFn> | undefined;

Defined in: async-debouncer.ts:32

The result from the most recent successful function execution


### maybeExecuteCount

ts

maybeExecuteCount: number;


maybeExecuteCount: number;

Defined in: async-debouncer.ts:36

Number of times maybeExecute has been called (for reduction calculations)


### settleCount

ts

settleCount: number;


settleCount: number;

Defined in: async-debouncer.ts:40

Number of function executions that have completed (either successfully or with errors)


### status

ts

status: "disabled" | "idle" | "pending" | "executing" | "settled";


status: "disabled" | "idle" | "pending" | "executing" | "settled";

Defined in: async-debouncer.ts:44

Current execution status - 'idle' when not active, 'pending' when waiting, 'executing' when running, 'settled' when completed


### successCount

ts

successCount: number;


successCount: number;

Defined in: async-debouncer.ts:48

Number of function executions that have completed successfully

Edit on GitHub

AsyncDebouncerOptions

debounce

Partners Become a Partner

Code RabbitCode Rabbit CloudflareCloudflare AG GridAG Grid NetlifyNetlify NeonNeon WorkOSWorkOS ClerkClerk ConvexConvex ElectricElectric SentrySentry PrismaPrisma StrapiStrapi UnkeyUnkey

scarf analytics