UNPKG

async-selector-kit

Version:

An opinionated API to simplify using async-selector

14 lines (12 loc) 392 B
var result = ` export function throttleSelector<State, Return>( selector: (state: State) => Return, throttleFunction: (f: Function) => Function, id?: string ): (state: State) => Return; export function throttleSelector<State, Props, Return>( selector: (state: State) => Return, throttleFunction: (f: Function) => Function, id?: string ): (state: State, props: Props) => Return `