MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / isRunning

Function isRunning

packages/core/profiling/index.ts:95–99  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

93}
94
95export function isRunning(name: string): boolean {
96 const info = timers[name];
97
98 return !!(info && info.runCount);
99}
100
101function countersProfileFunctionFactory<F extends Function>(fn: F, name: string, type: MemberType = MemberType.Instance): F {
102 profileNames.push(name);

Callers 3

test_isRunningFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected