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

Function makeRemove

packages/effect/src/internal/differ/hashMapPatch.ts:86–90  ·  view source on GitHub ↗
(key: Key)

Source from the content-addressed store, hash-verified

84})
85
86const makeRemove = <Key, Value, Patch>(key: Key): Differ.Differ.HashMap.Patch<Key, Value, Patch> => {
87 const o = Object.create(RemoveProto)
88 o.key = key
89 return o
90}
91
92interface Update<Key, Value, Patch> extends Differ.Differ.HashMap.Patch<Key, Value, Patch> {
93 readonly _tag: "Update"

Callers 1

diffFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…