MCPcopy Create free account
hub / github.com/effect-app/libs / write

Function write

packages/effect-app/src/DataDependencies.ts:101–102  ·  view source on GitHub ↗
(dependency: DataDependency)

Source from the content-addressed store, hash-verified

99 * existing recorder is inherited, so nested calls forward into their parent rather than shadow it.
100 */
101export const ensureDataDependencyRecorder = <A, E, R>(self: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> =>
102 Effect.flatMap(
103 DataDependencyRecorder,
104 (current) => current === "root" ? Effect.provide(self, DataDependencyRecorder.layer) : self
105 )

Callers

nothing calls this directly

Calls 2

pipeMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…