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
LocalCounter
Class LocalCounter
Hierarchy
LocalSettable
<
number
>
LocalCounter
Implements
{
name
:
string
;
tags
:
Tags
}
&
{
set
:
any
}
{
name
:
string
;
tags
:
Tags
}
&
{
increment
:
(
val
:
T
, tags
?:
Tags
)
=>
void
}
Resettable
Index
Constructors
constructor
Properties
_val
name
tags
Accessors
raw
value
Methods
increment
reset
set
Constructors
constructor
new
Local
Counter
(
name
:
string
, tags
?:
Tags
)
:
LocalCounter
Parameters
name:
string
Default value
tags:
Tags
= {}
Returns
LocalCounter
Properties
Protected
_val
_val
:
Value
<
number
|
undefined
>
Readonly
name
name
:
string
Readonly
tags
tags
:
Tags
Accessors
raw
get
raw
(
)
:
number
Returns
number
value
get
value
(
)
:
Value
<
number
|
undefined
>
Returns
Value
<
number
|
undefined
>
Methods
increment
increment
(
value
?:
number
, tags
?:
Tags
)
:
void
Parameters
Default value
value:
number
= 1
Default value
tags:
Tags
= {}
Returns
void
reset
reset
(
)
:
void
Returns
void
set
set
(
value
:
number
, tags
?:
Tags
)
:
Value
<
number
|
undefined
>
Parameters
value:
number
Default value
tags:
Tags
= {}
Returns
Value
<
number
|
undefined
>
Globals
Local
Counter
constructor
_val
name
tags
raw
value
increment
reset
set
Generated using
TypeDoc