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

Function context

packages/effect/src/internal/stream.ts:2461–2461  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2459
2460/** @internal */
2461export const context = <R>(): Stream.Stream<Context.Context<R>, never, R> => fromEffect(Effect.context<R>())
2462
2463/** @internal */
2464export const contextWith = <R, A>(f: (env: Context.Context<R>) => A): Stream.Stream<A, never, R> =>

Callers 3

contextWithFunction · 0.70
contextWithEffectFunction · 0.70
contextWithStreamFunction · 0.70

Calls 2

fromEffectFunction · 0.70
contextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…