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

Method contextEffect

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

* Retrieves the context associated with the key.

(key: K)

Source from the content-addressed store, hash-verified

91 * Retrieves the context associated with the key.
92 */
93 contextEffect(key: K): Effect.Effect<Context.Context<I>, E, Scope.Scope>
94
95 /**
96 * Invalidates the resource associated with the key.

Callers 2

LayerMap.test.tsFile · 0.80
ServiceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected