MCPcopy Index your code
hub / github.com/Effect-TS/effect / contextWithEffect

Function contextWithEffect

packages/effect/src/internal/stream.ts:2468–2470  ·  view source on GitHub ↗
(
  f: (env: Context.Context<R0>) => Effect.Effect<A, E, R>
)

Source from the content-addressed store, hash-verified

2466
2467/** @internal */
2468export const contextWithEffect = <R0, A, E, R>(
2469 f: (env: Context.Context<R0>) => Effect.Effect<A, E, R>
2470): Stream.Stream<A, E, R0 | R> => pipe(context<R0>(), mapEffectSequential(f))
2471
2472/** @internal */
2473export const contextWithStream = <R0, A, E, R>(

Callers

nothing calls this directly

Calls 2

pipeFunction · 0.70
contextFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…