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

SolidAsyncThrottlerOptions

Interface: SolidAsyncThrottlerOptions<TFn, TSelected>

Defined in: solid-pacer/src/async-throttler/createAsyncThrottler.ts:13

Extends

  • AsyncThrottlerOptions<TFn>

Type Parameters

TFn

TFn extends AnyAsyncFunction

TSelected

TSelected = { }

Properties

onUnmount()?

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

Defined in: solid-pacer/src/async-throttler/createAsyncThrottler.ts:21

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

Parameters

throttler

SolidAsyncThrottler<TFn, TSelected>

Returns

void