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
useTimeLoopAPI
Interface useTimeLoopAPI
useTimeLoop API
Hierarchy
useTimeLoopAPI
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
use
Time
LoopAPI
is
Run
run
set
Callback
stop
Fn
use
Time
Loop
use
Timeout
Generated using
TypeDoc
useTimeLoop API