async-selector-kit
Version:
An opinionated API to simplify using async-selector
20 lines (18 loc) • 469 B
JavaScript
var result = `
export function throttleSelectorResults<State, Return>(
selector: (state: State) => Return,
throttleFunction: (f: Function) => Function,
id?: string
): [
(state: State) => Return,
() => boolean
];
export function throttleSelectorResults<State, Props, Return, R1>(
selector: (state: State) => Return,
throttleFunction: (f: Function) => Function,
id?: string
): [
(state: State, props: Props) => Return,
() => boolean
];
`