MCPcopy Index your code
hub / github.com/Fiddle-Digital/string-scroll / getTrackedFunction

Method getTrackedFunction

src/Utils/StringTracker.ts:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 public getTrackedFunction() {
54 return (...args: any[]) => {
55 this.callCount++;
56 return this.trackedFunction(...args);
57 };
58 }
59
60 public stopTracking() {
61 clearInterval(this.intervalId);

Callers 1

useMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected