MCPcopy Create free account
hub / github.com/Effect-TS/effect / service

Function service

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

Source from the content-addressed store, hash-verified

1741
1742/** @internal */
1743export const service = <I, S>(
1744 tag: Context.Tag<I, S>
1745): Sink.Sink<S, unknown, never, never, I> => serviceWith(tag, identity)
1746
1747/** @internal */
1748export const serviceWith = <I, S, Z>(

Callers 1

Micro.tsFile · 0.50

Calls 1

serviceWithFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…