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

Function addEntry

packages/effect/src/ui/Query.ts:2913–2917  ·  view source on GitHub ↗
(name: string, argsKey: string)

Source from the content-addressed store, hash-verified

2911 const entries = new Map<string, Set<string>>()
2912 const tags = new Set<string>()
2913 const addEntry = (name: string, argsKey: string): void => {
2914 let keys = entries.get(name)
2915 if (keys === undefined) entries.set(name, keys = new Set())
2916 keys.add(argsKey)
2917 }
2918 for (const target of invalidates) {
2919 if (isQuery(target)) queries.add(defOf(target).name)
2920 else if (target._tag === "Entry") {

Callers 1

compileTargetsFunction · 0.70

Calls 3

getMethod · 0.65
setMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected