MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / _getTotalCount

Function _getTotalCount

packages/replay-internal/src/util/throttle.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 };
28
29 const _getTotalCount = (): number => {
30 return [...counter.values()].reduce((a, b) => a + b, 0);
31 };
32
33 let isThrottled = false;
34

Callers 1

throttleFunction · 0.85

Calls 1

valuesMethod · 0.65

Tested by

no test coverage detected