( f: (context: Context.Context<R>) => Effect.Effect<A, E, R2> )
| 2153 | |
| 2154 | /** @internal */ |
| 2155 | export const contextWith = <R, A, E, R2>( |
| 2156 | f: (context: Context.Context<R>) => Effect.Effect<A, E, R2> |
| 2157 | ): Effect.Effect<A, E, R | R2> => withFiber((fiber) => f(fiber.context as Context.Context<R>)) |
| 2158 | |
| 2159 | /** @internal */ |
| 2160 | export const setContext: { |