MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / getEventData

Method getEventData

src/scripts/logging/submodules/event.ts:114–120  ·  view source on GitHub ↗

* Returns a copy of this BaseEvent's internal data * (copy to prevent altering of class internals without setters)

()

Source from the content-addressed store, hash-verified

112 * (copy to prevent altering of class internals without setters)
113 */
114 public getEventData(): Event.BaseEventData {
115 return {
116 Label: this._label,
117 Duration: this._duration,
118 Properties: this.getCustomProperties()
119 };
120 }
121
122 public getLabel(): string {
123 return Event.Label[this._label];

Callers 2

logEventMethod · 0.45
addStreamEventItemsFunction · 0.45

Calls 1

getCustomPropertiesMethod · 0.95

Tested by

no test coverage detected