Pacer Docs
API Reference
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
- RateLimiterOptions
- RateLimiterState
- AsyncRateLimiterOptions
- AsyncRateLimiterState
- rateLimit
- asyncRateLimit
- RateLimiter
- AsyncRateLimiter
- createAsyncRateLimiter
- createRateLimitedSignal
- createRateLimitedValue
- createRateLimiter
- SvelteAsyncRateLimiter
- SvelteAsyncRateLimiterOptions
- SvelteRateLimiter
- SvelteRateLimiterOptions
Queue API Reference
AI/LLM: This documentation page is available in plain markdown format at/pacer/latest/docs/framework/svelte/reference/interfaces/SvelteAsyncRateLimiterOptions.md
Rate Limiter API Reference
SvelteAsyncRateLimiterOptions
Defined in: packages/svelte-pacer/src/async-rate-limiter/createAsyncRateLimiter.ts:13
Options for createAsyncRateLimiter, including owner cleanup.
Extends#
- AsyncRateLimiterOptions<TFn>
Type Parameters#
TFn#
TFn extends AnyAsyncFunction
TSelected#
TSelected = { }
Properties#
onUnmount?#
ts
optional onUnmount?: (instance) => void;Defined in: packages/svelte-pacer/src/async-rate-limiter/createAsyncRateLimiter.ts:18
Replaces default cleanup. Use this to flush, cancel, or stop pending work.
Parameters#
instance#
SvelteAsyncRateLimiter<TFn, TSelected>
Returns#
void