Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ConsoleTimer
Class ConsoleTimer<T>
Type parameters
T
Hierarchy
ConsoleMetric
ConsoleTimer
Implements
Enabled
TimerWrapper
<
T
>
Index
Constructors
constructor
Properties
_enabled
console
feature
fqn
listeners
name
options
raw
Name
tags
Methods
enabled
on
Done
wrap
Constructors
constructor
new
Console
Timer
(
name
:
string
, tags
:
Tags
, options
:
ConsoleMetricOptions
)
:
ConsoleTimer
Parameters
name:
string
tags:
Tags
options:
ConsoleMetricOptions
Returns
ConsoleTimer
Properties
Protected
Readonly
_enabled
_enabled
:
PropEnabled
Protected
Readonly
console
console
:
Console
Readonly
feature
feature
:
ApmFeatures
Readonly
fqn
fqn
:
string
Protected
Readonly
listeners
listeners
:
Listener
<
T
>
[]
= []
Readonly
name
name
:
string
Protected
Readonly
options
options
:
ConsoleMetricOptions
Protected
Readonly
raw
Name
raw
Name
:
string
Readonly
tags
tags
:
Tags
Methods
enabled
enabled
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
on
Done
on
Done
(
listener
:
Listener
<
T
>
)
:
void
Parameters
listener:
Listener
<
T
>
Returns
void
wrap
wrap
(
func
:
(
...
args
:
unknown
[]
)
=>
T
)
:
(
...
args
:
unknown
[]
)
=>
T
Parameters
func:
(
...
args
:
unknown
[]
)
=>
T
(
...
args
:
unknown
[]
)
:
T
Parameters
Rest
...
args:
unknown
[]
Returns
T
Returns
(
...
args
:
unknown
[]
)
=>
T
(
...
args
:
unknown
[]
)
:
T
Parameters
Rest
...
args:
unknown
[]
Returns
T
Globals
Console
Timer
constructor
_enabled
console
feature
fqn
listeners
name
options
raw
Name
tags
enabled
on
Done
wrap
Generated using
TypeDoc