Wagtail client-side components
Preparing search index...
utils/debounce
DebouncedFunction
Type Alias DebouncedFunction<A, R>
type
DebouncedFunction
<
A
extends
any
[]
,
R
=
any
>
=
{
cancel
()
:
void
;
restore
()
:
(
...
args
:
A
)
=>
R
|
Promise
<
R
>
;
(
...
args
:
A
)
:
Promise
<
R
>
;
}
Type Parameters
A
extends
any
[]
R
=
any
DebouncedFunction
(
...
args
:
A
)
:
Promise
<
R
>
Parameters
...
args
:
A
Returns
Promise
<
R
>
Index
Methods
cancel
restore
Methods
cancel
cancel
()
:
void
Returns
void
restore
restore
()
:
(
...
args
:
A
)
=>
R
|
Promise
<
R
>
Returns
(
...
args
:
A
)
=>
R
|
Promise
<
R
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
cancel
restore
Wagtail client-side components
Loading...