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

Function saveManyWithPure_

packages/effect-app/src/Model/Repository/ext.ts:53–66  ·  view source on GitHub ↗
(
    items: Iterable<S1>,
    pure: Effect.Effect<A, E, FixEnv<R, Evt, readonly S1[], readonly S2[]>>
  )

Source from the content-addressed store, hash-verified

51 }))
52 )
53 function saveManyWithPure_<
54 R,
55 A,
56 E,
57 S1 extends T,
58 S2 extends T
59 >(
60 items: Iterable<S1>,
61 pure: Effect.Effect<A, E, FixEnv<R, Evt, readonly S1[], readonly S2[]>>
62 ) {
63 return saveAllWithEffectInt(
64 runTerm(pure, [...items])
65 )
66 }
67
68 function saveWithPure_<
69 R,

Callers 1

queryAndSavePureFunction · 0.85

Calls 2

runTermFunction · 0.90
saveAllWithEffectIntFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…