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

Function set

packages/platform/src/internal/keyValueStore.ts:138–138  ·  view source on GitHub ↗
(key: string, value: A)

Source from the content-addressed store, hash-verified

136 )
137
138 const set = (key: string, value: A) => Effect.flatMap(encode(value), (json) => store.set(key, json))
139
140 const modify = (key: string, f: (value: A) => A) =>
141 Effect.flatMap(

Callers 1

modifyFunction · 0.70

Calls 2

encodeFunction · 0.70
setMethod · 0.65

Tested by

no test coverage detected