MCPcopy Index your code
hub / github.com/Effect-TS/effect / service

Function service

packages/effect/src/internal/layer.ts:978–980  ·  view source on GitHub ↗
(
  tag: Context.Tag<I, S>
)

Source from the content-addressed store, hash-verified

976
977/** @internal */
978export const service = <I, S>(
979 tag: Context.Tag<I, S>
980): Layer.Layer<I, never, I> => fromEffect(tag, tag)
981
982/** @internal */
983export const succeed = dual<

Callers

nothing calls this directly

Calls 1

fromEffectFunction · 0.70

Tested by

no test coverage detected