MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / secondFn

Function secondFn

packages/redis/cachable.test.ts:277–280  ·  view source on GitHub ↗
(arg1: string)

Source from the content-addressed store, hash-verified

275 // Second instance has a cold L1 LRU; it must read [] from Redis
276 let secondCallCount = 0;
277 const secondFn = async (arg1: string) => {
278 secondCallCount++;
279 return [1, 2, 3];
280 };
281 const secondCachedFn = cacheable('sharedEmptyArrayFn', secondFn, 3600, {
282 cacheEmptyArray: true,
283 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected