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
ConsoleTimerFactory
Class ConsoleTimerFactory
Hierarchy
ConsoleTimerFactory
Implements
TimerWrapperFactory
Index
Constructors
constructor
Properties
options
timer
Counts
timers
Methods
async
Timer
timer
Constructors
constructor
new
Console
Timer
Factory
(
options
:
ConsoleMetricOptions
)
:
ConsoleTimerFactory
Parameters
options:
ConsoleMetricOptions
Returns
ConsoleTimerFactory
Properties
Protected
Readonly
options
options
:
ConsoleMetricOptions
Protected
Readonly
timer
Counts
timer
Counts
:
Record
<
string
,
number
>
Protected
Readonly
timers
timers
:
Record
<
string
,
ConsoleTimer
<
any
>
>
Methods
async
Timer
async
Timer<T>
(
name
:
string
, tags
?:
Tags
)
:
TimerWrapper
<
Promise
<
T
>
>
Type parameters
T
Parameters
name:
string
Default value
tags:
Tags
= {}
Returns
TimerWrapper
<
Promise
<
T
>
>
timer
timer<T>
(
name
:
string
, tags
?:
Tags
)
:
TimerWrapper
<
T
>
Type parameters
T
Parameters
name:
string
Default value
tags:
Tags
= {}
Returns
TimerWrapper
<
T
>
Globals
Console
Timer
Factory
constructor
options
timer
Counts
timers
async
Timer
timer
Generated using
TypeDoc