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

Function make

packages/effect/src/internal/context.ts:207–208  ·  view source on GitHub ↗
(tag: C.Tag<I, S>, service: NoInfer<S>)

Source from the content-addressed store, hash-verified

205
206/** @internal */
207export const make = <I, S>(tag: C.Tag<I, S>, service: NoInfer<S>): C.Context<I> =>
208 makeContext(new Map([[tag.key, service]]))
209
210/** @internal */
211export const add = dual<

Callers 1

contextFunction · 0.70

Calls 1

makeContextFunction · 0.85

Tested by

no test coverage detected