ErrorsInstrument
Extends
BaseInstrument
<ErrorsInstrumentValue
>
Constructors
new ErrorsInstrument(store, init)
new ErrorsInstrument(
store
,init
):ErrorsInstrument
Parameters
• store
: Store
• init
: BaseInstrumentInit
= {}
Returns
Overrides
BaseInstrument<ErrorsInstrumentValue>.constructor
Source
inspector/lib/instruments/errors.ts:11
Properties
active
active:
boolean
=false
Inherited from
BaseInstrument.active
Source
inspector/lib/instruments/base.ts:6
disabled
disabled:
boolean
=false
Inherited from
BaseInstrument.disabled
Source
inspector/lib/instruments/base.ts:8
name
name:
InspectorInstruments
Inherited from
BaseInstrument.name
Source
inspector/lib/instruments/base.ts:11
store
store:
Store
Inherited from
BaseInstrument.store
Source
inspector/lib/instruments/base.ts:12
Methods
activate()
activate():
boolean
Returns
boolean
Inherited from
BaseInstrument.activate
Source
inspector/lib/instruments/base.ts:34
deactivate()
deactivate():
boolean
Returns
boolean
Inherited from
BaseInstrument.deactivate
Source
inspector/lib/instruments/base.ts:41
getEntryLabel()
getEntryLabel(
_value
):string
Parameters
• \_value
: ErrorsInstrumentValue
Returns
string
Inherited from
BaseInstrument.getEntryLabel
Source
inspector/lib/instruments/base.ts:22
getEntryTime()
getEntryTime(
_value
):number
Parameters
• \_value
: ErrorsInstrumentValue
Returns
number
Inherited from
BaseInstrument.getEntryTime
Source
inspector/lib/instruments/base.ts:26
push()
push(
value
,label
,time
):Promise
<void
>
Parameters
• value
: ErrorsInstrumentValue
• label
: string
= undefined
• time
: number
= undefined
Returns
Promise
<void
>
Inherited from
BaseInstrument.push
Source
inspector/lib/instruments/base.ts:46
putToStore()
putToStore(
time
,label
,value
):Promise
<void
>
Parameters
• time
: number
• label
: string
• value
: string
Returns
Promise
<void
>
Overrides
BaseInstrument.putToStore
Source
inspector/lib/instruments/errors.ts:16
query()
query(
query
):Promise
<StoreQueryResult
>
Parameters
• query
: Query
Returns
Promise
<StoreQueryResult
>
Inherited from
BaseInstrument.query
Source
inspector/lib/instruments/base.ts:58
queryFromStore()
queryFromStore(
query
):Promise
<StoreQueryResult
>
Parameters
• query
: Query
Returns
Promise
<StoreQueryResult
>
Overrides
BaseInstrument.queryFromStore
Source
inspector/lib/instruments/errors.ts:20
serializeValue()
serializeValue(
value
):string
Parameters
• value
: ErrorsInstrumentValue
Returns
string
Overrides
BaseInstrument.serializeValue
Source
inspector/lib/instruments/errors.ts:29
subscribe()
subscribe(
fn
,_options
?): () =>void
Parameters
• fn
: (time
, label
, value
) => void
• \_options?
: unknown
Returns
Function
Returns
void
Inherited from
BaseInstrument.subscribe
Source
inspector/lib/instruments/base.ts:75
Generated using TypeDoc and typedoc-plugin-markdown.