Function
layer
(
self: ConfigProvider | Effect.Effect<ConfigProvider, E, R>
)
Source from the content-addressed store, hash-verified
| 664 | * @since 4.0.0 |
| 665 | */ |
| 666 | export const layer = <E = never, R = never>( |
| 667 | self: ConfigProvider | Effect.Effect<ConfigProvider, E, R> |
| 668 | ): Layer.Layer<never, E, Exclude<R, Scope>> => |
| 669 | Effect.isEffect(self) ? Layer.effect(ConfigProvider)(self) : Layer.succeed(ConfigProvider)(self) |
| 670 | |
| 671 | /** |
| 672 | * Creates a Layer that composes a new `ConfigProvider` with the currently |
Callers
nothing calls this directly
Tested by
no test coverage detected