Wagtail client-side components
Preparing search index...
utils/debounce
DebouncedFunction
Type Alias DebouncedFunction<F>
A function that has been debounced.
type
DebouncedFunction
<
F
extends
AnyFunction
>
=
{
cancel
()
:
void
;
restore
()
:
F
;
(
...
args
:
Parameters
<
F
>
)
:
Promise
<
ReturnType
<
F
>
>
;
}
Type Parameters
F
extends
AnyFunction
DebouncedFunction
(
...
args
:
Parameters
<
F
>
)
:
Promise
<
ReturnType
<
F
>
>
Parameters
...
args
:
Parameters
<
F
>
Returns
Promise
<
ReturnType
<
F
>
>
Index
Methods
cancel
restore
Methods
cancel
cancel
()
:
void
Returns
void
restore
restore
()
:
F
Returns
F
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
cancel
restore
Wagtail client-side components
Loading...
A function that has been debounced.