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

Method contextEffect

packages/effect/src/LayerMap.ts:97–97  ·  view source on GitHub ↗

* Retrieves the context associated with the key.

(key: K)

Source from the content-addressed store, hash-verified

95 * Retrieves the context associated with the key.
96 */
97 contextEffect(key: K): Effect.Effect<Context.Context<I>, E, Scope.Scope>
98
99 /**
100 * Retains and returns the context for a key only when it is currently cached.

Callers 2

LayerMap.test.tsFile · 0.80
ServiceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected