async-selector-kit
Version:
An opinionated API to simplify using async-selector
3 lines (2 loc) • 389 B
TypeScript
export declare function throttleSelector<State, Return>(selector: (state: State) => Return, throttleFunction: (f: Function) => Function, id?: string): (state: State) => Return;
export declare function throttleSelector<State, Props, Return>(selector: (state: State, props: Props) => Return, throttleFunction: (f: Function) => Function, id?: string): (state: State, props: Props) => Return;