Skip to main content

debounce

Interfaces​

Cancelable​

Deprecated​

Methods​

cancel()​
cancel(): void;
Returns​

void

flush()​
flush(): void;
Returns​

void

Type Aliases​

DebouncedFunc​

type DebouncedFunc<T> = T & Cancelable;

Type Parameters​

Type Parameter
T

Deprecated​

Functions​

debounce()​

function debounce<T>(
func,
wait,
options?): T & Cancelable;

This is copy a function of lodash. See docs lodash.debounce. Please do not use this outside Design Atoms.

Type Parameters​

Type Parameter
T extends (...args) => any

Parameters​

ParameterType
funcT
waitnumber
options?DebounceSettings

Returns​

T & Cancelable

Deprecated​

Was this page helpful?