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

Function fn

packages/redis/cachable.test.ts:42–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40
41 let fnCalled = false;
42 const fn = async () => {
43 fnCalled = true;
44 return mockData;
45 };
46
47 const result = await getCache('test-key', 3600, fn);
48

Callers 15

tracker.tsFile · 0.85
auth.test.tsFile · 0.85
withErrorHandlingFunction · 0.85
profiles.test.tsFile · 0.85
tools.test.tsFile · 0.85
getCacheFunction · 0.85
cachedFnFunction · 0.85
runEveryFunction · 0.85
itCHFunction · 0.85
parallelLimitMethod · 0.85
workerMethod · 0.85
timeAddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected