( effect: Effect<Context.Context<A>, E, R> )
| 1071 | * @since 2.0.0 |
| 1072 | */ |
| 1073 | export const effectContext = <A, E, R>( |
| 1074 | effect: Effect<Context.Context<A>, E, R> |
| 1075 | ): Layer<A, E, Exclude<R, Scope.Scope>> => fromBuildMemo((_, scope) => Scope.provide(effect, scope)) |
| 1076 | |
| 1077 | /** |
| 1078 | * Constructs a layer from an effect, discarding its value and providing no |
no test coverage detected