GitHub
isaacs projects
Preparing search index...
The search index is not available
clock-mock
clock-mock
SetInterval
Interface SetInterval
setInterval which can be promisified
Hierarchy
SetInterval
Set
Interval
(
f
,
n
?
)
:
Timer
Parameters
f
:
(
(
a
)
=>
any
)
(
a
)
:
any
Parameters
a
:
void
Returns
any
Optional
n
:
number
Returns
Timer
Set
Interval
<
TArgs
>
(
f
,
n
?
,
...
a
)
:
Timer
Type Parameters
TArgs
extends
any
[]
Parameters
f
:
(
(
...
a
)
=>
any
)
(
...
a
)
:
any
Parameters
Rest
...
a
:
TArgs
Returns
any
Optional
n
:
number
Rest
...
a
:
TArgs
Returns
Timer
Index
Properties
[promisify
Symbol]
__promisify__
Properties
[promisify
Symbol]
[promisify
Symbol]
:
SetIntervalPromise
__promisify__
__promisify__
:
SetIntervalPromise
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
[promisify
Symbol]
__promisify__
clock-
mock
Clock
Timer
Saved
Set
Immediate
Set
Immediate
Promise
Set
Interval
Set
Interval
Promise
Set
Timeout
Set
Timeout
Promise
Timer
Provider
Mock
Date
Generated using
TypeDoc
setInterval which can be promisified