MCPcopy
hub / github.com/redpanda-data/console / handleMiss

Method handleMiss

frontend/src/utils/lazy-map.ts:63–68  ·  view source on GitHub ↗
(key: K, createFn?: (k: K) => V)

Source from the content-addressed store, hash-verified

61 }
62
63 private handleMiss(key: K, createFn?: (k: K) => V): V {
64 if (createFn) {
65 return createFn(key);
66 }
67 return this.defaultCreate(key);
68 }
69}

Callers 1

getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected