Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ set
Function
set
packages/effect/src/unstable/persistence/KeyValueStore.ts:783–783 ·
view source on GitHub ↗
(key: string, value: S["Type"])
Source
from the content-addressed store, hash-verified
781
)
782
783
const
set = (key: string, value: S[
"Type"
]) => Effect.flatMap(encode(value), (json) => self.set(key, json))
784
785
const
modify = (key: string, f: (value: S[
"Type"
]) => S[
"Type"
]) =>
786
Effect.flatMap(
Callers
1
modify
Function · 0.70
Calls
2
set
Method · 0.65
encode
Function · 0.50
Tested by
no test coverage detected