Effect.provide to provide dependencies
`Effect.provide` supplies the requirements (R) your Effect needs. Use it at the edge of your program to inject real implementations.
The program stays pure and testable; you swap implementations by providing different layers.
- Use `Effect.provide(effect, layer)` to supply requirements
- After provide, the R channel is removed - the Effect is runnable
- Use different layers for production vs tests
Loading code editor...