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

Function runA

packages/effect-app/src/Pure.ts:193–198  ·  view source on GitHub ↗
(
  self: Effect.Effect<A, E, FixEnv<R, W3, S1, S3>>,
  s: S4
)

Source from the content-addressed store, hash-verified

191}
192
193export function runA<R, E, A, W3, S1, S3, S4 extends S1>(
194 self: Effect.Effect<A, E, FixEnv<R, W3, S1, S3>>,
195 s: S4
196) {
197 return Effect.map(runAll(self, s), ([log, r]) => tuple(log, Result.map(r, ([, a]) => a)))
198}
199
200export function modify<S2, A, S3>(
201 mod: (s: S2) => readonly [S3, A]

Callers

nothing calls this directly

Calls 3

tupleFunction · 0.90
runAllFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…