GitHub
isaacs projects
Preparing search index...
The search index is not available
clock-mock
clock-mock
SetTimeout
Interface SetTimeout
setTimeout which can be promisified
Hierarchy
SetTimeout
Set
Timeout
(
f
,
n
?
)
:
Timer
Parameters
f
:
(
(
a
)
=>
any
)
(
a
)
:
any
Parameters
a
:
void
Returns
any
Optional
n
:
number
Returns
Timer
Set
Timeout
<
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]
:
SetTimeoutPromise
__promisify__
__promisify__
:
SetTimeoutPromise
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
setTimeout which can be promisified