MCPcopy Create free account
hub / github.com/Effect-TS/effect / remove

Function remove

packages/effect/src/Metric.ts:1753–1757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1751 registry.set(key, metadata)
1752 return {
1753 remove() {
1754 if (registry.get(key) === metadata) {
1755 registry.delete(key)
1756 }
1757 }
1758 }
1759 }
1760

Callers 2

MutableHashMap.tsFile · 0.70
Record.tsFile · 0.70

Calls 3

removeUnsafeFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected