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

Function persisted

packages/effect/src/ui/QueryPersistence.ts:121–123  ·  view source on GitHub ↗
(def: Def)

Source from the content-addressed store, hash-verified

119}
120
121const persisted = (def: Def): boolean | undefined =>
122 def.persist && !holdsRedacted(def.args.ast) &&
123 !holdsRedacted(def.success.ast) && !holdsRedacted(def.error.ast)
124
125const failed = (query: string, part: "encode" | "write"): SaveFailed =>
126 new SaveFailed({

Callers 2

layerKvsFunction · 0.70
Query.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected