Docs
CodeRabbit
Cloudflare
Railway
Netlify
WorkOS
OpenRouter
Clerk
AG Grid
SerpAPI
Prisma
Electric
Unkey
Sentry
CodeRabbit
Cloudflare
Railway
Netlify
WorkOS
OpenRouter
Clerk
AG Grid
SerpAPI
Prisma
Electric
Unkey
Sentry
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference
Batcher API Reference
Debouncer API Reference

SolidDebouncerOptions

Interface: SolidDebouncerOptions<TFn, TSelected>

Defined in: solid-pacer/src/debouncer/createDebouncer.ts:13

Extends

  • DebouncerOptions<TFn>

Type Parameters

TFn

TFn extends AnyFunction

TSelected

TSelected = { }

Properties

onUnmount()?

ts
optional onUnmount: (debouncer) => void;
optional onUnmount: (debouncer) => void;

Defined in: solid-pacer/src/debouncer/createDebouncer.ts:21

Optional callback invoked when the owning component unmounts. Receives the debouncer instance. When provided, replaces the default cleanup (cancel); use it to call flush(), reset(), cancel(), add logging, etc.

Parameters

debouncer

SolidDebouncer<TFn, TSelected>

Returns

void