UNPKG

async-selector-kit

Version:

An opinionated API to simplify using async-selector

3 lines (2 loc) 427 B
export declare function throttleSelectorResults<State, Return>(selector: (state: State) => Return, throttleFunction: (f: Function) => Function, id?: string): [(state: State) => Return, () => boolean]; export declare function throttleSelectorResults<State, Props, Return, R1>(selector: (state: State) => Return, throttleFunction: (f: Function) => Function, id?: string): [(state: State, props: Props) => Return, () => boolean];