MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / defaultComputeCacheKey

Function defaultComputeCacheKey

packages/ethereum-viewer/src/util/func.ts:15–15  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

13import { stableStringify } from "./stringify";
14
15const defaultComputeCacheKey = (...args: any[]) => stableStringify([...args]);
16
17// reuse previous promise when a request call
18// and previous request not completed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected