( effect: Effect<Context.Context<A>, E, R> )
| 1121 | * @since 2.0.0 |
| 1122 | */ |
| 1123 | export const effectContext = <A, E, R>( |
| 1124 | effect: Effect<Context.Context<A>, E, R> |
| 1125 | ): Layer<A, E, Exclude<R, Scope.Scope>> => fromBuildMemo((_, scope) => Scope.provide(effect, scope)) |
| 1126 | |
| 1127 | /** |
| 1128 | * Constructs a layer from an effect, discarding its value and providing no |
no test coverage detected