10 lines
169 B
TypeScript
10 lines
169 B
TypeScript
|
|
|
||
|
|
import { debounce as _debounce } from 'underscore';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Proxy to underscore debounce
|
||
|
|
*/
|
||
|
|
export function debounce(fn, timespan)
|
||
|
|
{
|
||
|
|
return _debounce(fn, timespan)
|
||
|
|
}
|