Framework
Version
Debouncer API Reference
Throttler API Reference
Rate Limiter API Reference
Queue API Reference

SolidThrottler

Interface: SolidThrottler<TFn>

Defined in: throttler/createThrottler.ts:11

An extension of the Throttler class that adds Solid signals to access the internal state of the throttler

Extends

  • Omit<Throttler<TFn>, | "getExecutionCount" | "getIsPending" | "getLastExecutionTime" | "getNextExecutionTime">

Type Parameters

TFn extends AnyFunction

Properties

executionCount

ts
executionCount: Accessor<number>;
executionCount: Accessor<number>;

Defined in: throttler/createThrottler.ts:19


isPending

ts
isPending: Accessor<boolean>;
isPending: Accessor<boolean>;

Defined in: throttler/createThrottler.ts:20


lastExecutionTime

ts
lastExecutionTime: Accessor<number>;
lastExecutionTime: Accessor<number>;

Defined in: throttler/createThrottler.ts:21


nextExecutionTime

ts
nextExecutionTime: Accessor<number>;
nextExecutionTime: Accessor<number>;

Defined in: throttler/createThrottler.ts:22

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.