@mudssky/jsutils
Preparing search index...
ThrottledFunction
Interface ThrottledFunction
节流函数接口,包含取消和刷新方法
interface
ThrottledFunction
{
cancel
:
()
=>
void
;
flush
:
()
=>
unknown
;
(
this
:
unknown
,
...
args
:
unknown
[]
)
:
void
;
}
ThrottledFunction
(
this
:
unknown
,
...
args
:
unknown
[]
)
:
void
调用节流后的函数
Parameters
this
:
unknown
...
args
:
unknown
[]
Returns
void
Index
Properties
cancel
flush
Properties
cancel
cancel
:
()
=>
void
取消延迟的函数调用
flush
flush
:
()
=>
unknown
立即执行待处理的函数调用
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cancel
flush
@mudssky/jsutils
Loading...
节流函数接口,包含取消和刷新方法