Package: effect Module: Layer
effect
Layer
Constructs a layer from the specified effect, which must return one or more services.
Signature
declare const effectContext: <A, E, R>(effect: Effect.Effect<Context.Context<A>, E, R>) => Layer<A, E, R>
Source
Since v2.0.0