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

Function contextWithStream

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

Source from the content-addressed store, hash-verified

2471
2472/** @internal */
2473export const contextWithStream = <R0, A, E, R>(
2474 f: (env: Context.Context<R0>) => Stream.Stream<A, E, R>
2475): Stream.Stream<A, E, R0 | R> => pipe(context<R0>(), flatMap(f))
2476
2477/** @internal */
2478export const execute = <X, E, R>(effect: Effect.Effect<X, E, R>): Stream.Stream<never, E, R> =>

Callers 1

stream.tsFile · 0.85

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…