effect-io-ai

Package: effect
Module: Micro

Micro.service

Access the given Context.Tag from the environment.

Signature

declare const service: { <I, S>(tag: Context.Reference<I, S>): Micro<S>; <I, S>(tag: Context.Tag<I, S>): Micro<S, never, I>; }

Source

Since v3.4.0