(f: (env: Context.Context<R>) => A)
| 2455 | |
| 2456 | /** @internal */ |
| 2457 | export const contextWith = <R, A>(f: (env: Context.Context<R>) => A): Stream.Stream<A, never, R> => |
| 2458 | pipe(context<R>(), map(f)) |
| 2459 | |
| 2460 | /** @internal */ |
| 2461 | export const contextWithEffect = <R0, A, E, R>( |