Skip to content

EventsInstrument

Extends

Constructors

new EventsInstrument(store, init)

new EventsInstrument(store, init): EventsInstrument

Parameters

store: Store

init: BaseInstrumentInit= {}

Returns

EventsInstrument

Overrides

BaseInstrument<EventsInstrumentValue>.constructor

Source

inspector/lib/instruments/events.ts:10

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: EventsInstrumentValue

Returns

string

Overrides

BaseInstrument.getEntryLabel

Source

inspector/lib/instruments/events.ts:28


getEntryTime()

getEntryTime(_value): number

Parameters

\_value: EventsInstrumentValue

Returns

number

Inherited from

BaseInstrument.getEntryTime

Source

inspector/lib/instruments/base.ts:26


push()

push(value, label, time): Promise<void>

Parameters

value: EventsInstrumentValue

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/events.ts:15


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/events.ts:19


serializeValue()

serializeValue(value): string

Parameters

value: EventsInstrumentValue

Returns

string

Overrides

BaseInstrument.serializeValue

Source

inspector/lib/instruments/events.ts:32


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.