@realsee/vr-signals API Documentation - v2.0.0
Preparing search index...
debounce
Function debounce
debounce
<
T
extends
(
...
args
:
any
[]
)
=>
any
>
(
func
:
T
,
wait
:
number
,
immediate
?:
boolean
,
)
:
(
...
args
:
Parameters
<
T
>
)
=>
void
防抖函数
Type Parameters
T
extends
(
...
args
:
any
[]
)
=>
any
Parameters
func
:
T
要防抖的函数
wait
:
number
等待时间(毫秒)
immediate
:
boolean
= false
是否立即执行
Returns
(
...
args
:
Parameters
<
T
>
)
=>
void
防抖后的函数
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@realsee/vr-signals API Documentation - v2.0.0
Loading...
防抖函数