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

File LayerMap.ts

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

Source from the content-addressed store, hash-verified

1/**
2 * Caches scoped services selected by key and built from layers.
3 *
4 * A `LayerMap<K, I, E>` turns a key into a cached service `Context<I>` and

Callers

nothing calls this directly

Calls 7

identityFunction · 0.90
contextMethod · 0.80
forkOrCreateMethod · 0.80
lookupFunction · 0.70
makeMethod · 0.65
getMethod · 0.65
invalidateMethod · 0.65

Tested by

no test coverage detected