( service: Context.Key<I, S>, effect: Effect<S, E, R> )
| 1027 | } as any |
| 1028 | |
| 1029 | const effectImpl = <I, S, E, R>( |
| 1030 | service: Context.Key<I, S>, |
| 1031 | effect: Effect<S, E, R> |
| 1032 | ): Layer<I, E, Exclude<R, Scope.Scope>> => |
| 1033 | effectContext(internalEffect.map(effect, (value) => Context.make(service, value))) |
| 1034 | |
| 1035 | /** |
| 1036 | * Constructs a layer from an effect that produces all services in a `Context`. |
no test coverage detected