Package: effect Module: Layer
effect
Layer
Constructs a layer that accesses and returns the specified service from the context.
Signature
declare const service: <I, S>(tag: Context.Tag<I, S>) => Layer<I, never, I>
Source
Since v2.0.0