Skip to content

@fabwcie/free-drawing / utils/perf / ThrottledFunction

Type Alias: ThrottledFunction<T> ​

ThrottledFunction<T> = (...args) => ReturnType<T>

Defined in: packages/free-drawing/src/utils/perf.ts:5

Function returned by throttle: same parameters and result as the throttled function

Type Parameters ​

T ​

T extends (...args) => any

throttled function

Parameters ​

args ​

...Parameters<T>

Returns ​

ReturnType<T>