Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ Layer.ts
File
Layer.ts
packages/effect/src/Layer.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* A `Layer<ROut, E, RIn>` describes how to build one or more services in your
3
* application. Services can be injected into effects via
4
* `Effect.provideService`. Effects can require services via `Effect.service`.
Callers
nothing calls this directly
Calls
7
scopedDiscard
Function · 0.85
provide
Function · 0.85
unsafeGet
Method · 0.80
map
Function · 0.70
context
Function · 0.70
f
Function · 0.70
add
Method · 0.65
Tested by
no test coverage detected