MCPcopy Index your code
hub / github.com/Effect-TS/effect / makeUpdate

Function makeUpdate

packages/effect/src/internal/differ/hashMapPatch.ts:102–107  ·  view source on GitHub ↗
(key: Key, patch: Patch)

Source from the content-addressed store, hash-verified

100})
101
102const makeUpdate = <Key, Value, Patch>(key: Key, patch: Patch): Differ.Differ.HashMap.Patch<Key, Value, Patch> => {
103 const o = Object.create(UpdateProto)
104 o.key = key
105 o.patch = patch
106 return o
107}
108
109type Instruction =
110 | Add<any, any, any>

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…