MCPcopy
hub / github.com/redis/node-redis / empty

Method empty

packages/client/lib/client/cache.ts:88–90  ·  view source on GitHub ↗

* Returns a statistics instance where no cache events have been recorded. * * @returns An empty statistics instance

()

Source from the content-addressed store, hash-verified

86 * @returns An empty statistics instance
87 */
88 static empty(): CacheStats {
89 return CacheStats.EMPTY_STATS;
90 }
91
92 /**
93 * An empty stats instance with all counters set to zero.

Callers 2

snapshotMethod · 0.80
cache.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected