Search
Preparing search index...
The search index is not available
s-utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
s-utils
vx-hooks/useTimeout
UseTimeoutAPI
Interface UseTimeoutAPI
useTime APi
Hierarchy
UseTimeoutAPI
Index
Properties
is
Run
run
set
Callback
stop
Properties
is
Run
is
Run
:
Ref
<
boolean
>
是否运行中
run
run
:
(
...
args
:
any
[]
)
=>
void
启动定时器
Type declaration
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
set
Callback
set
Callback
:
(
callback
:
Fn
)
=>
Fn
设置执行回调
Type declaration
(
callback
:
Fn
)
:
Fn
Parameters
callback:
Fn
Returns
Fn
stop
stop
:
(
)
=>
void
终止定时器
Type declaration
(
)
:
void
Returns
void
Modules
vx-
hooks/use
Timeout
Use
TimeoutAPI
is
Run
run
set
Callback
stop
use
Time
LoopAPI
Fn
use
Time
Loop
use
Timeout
Generated using
TypeDoc
useTime APi