Framework
Version
防抖器 API 參考
節流器 API 參考
速率限制器 API 參考
佇列 API 參考

SolidAsyncThrottler

Interface: SolidAsyncThrottler<TFn, TArgs>

Defined in: async-throttler/createAsyncThrottler.ts:8

Extends

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

Type Parameters

TFn extends AnyAsyncFunction

TArgs extends Parameters<TFn>

Properties

executionCount

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

Defined in: async-throttler/createAsyncThrottler.ts:18


isPending

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

Defined in: async-throttler/createAsyncThrottler.ts:19


lastExecutionTime

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

Defined in: async-throttler/createAsyncThrottler.ts:20


nextExecutionTime

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

Defined in: async-throttler/createAsyncThrottler.ts:21

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.