effect-io-ai

Package: effect
Module: Layer

Layer.effectContext

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