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/SvelteDebouncer.md
Debouncer API Reference
SvelteDebouncer
Defined in: packages/svelte-pacer/src/debouncer/createDebouncer.ts:22
A Debouncer with framework-reactive selected state. All core methods remain available.
Extends#
- Omit<Debouncer<TFn>, "options" | "setOptions">
Type Parameters#
TFn#
TFn extends AnyFunction
TSelected#
TSelected = { }
Properties#
options#
ts
options: DebouncerOptions<TFn> & SvelteDebouncerOptions<TFn, TSelected>;Defined in: packages/svelte-pacer/src/debouncer/createDebouncer.ts:26
setOptions#
ts
setOptions: (options) => void;Defined in: packages/svelte-pacer/src/debouncer/createDebouncer.ts:27
Parameters#
options#
Partial<SvelteDebouncerOptions<TFn, TSelected>>
Returns#
void
state#
ts
readonly state: Readonly<TSelected>;Defined in: packages/svelte-pacer/src/debouncer/createDebouncer.ts:31
Selected state. Pass a selector to opt in; the default selection is an empty object.
Subscribe#
ts
Subscribe: SveltePacerSubscribe<DebouncerState<TFn>>;Defined in: packages/svelte-pacer/src/debouncer/createDebouncer.ts:29
Subscribes a child snippet to state without updating the utility owner.