(
build: (
memoMap: MemoMap,
scope: Scope.Scope
) => Effect<Context.Context<ROut>, E, RIn>
)
| 287 | } |
| 288 | |
| 289 | const fromBuildUnsafe = <ROut, E, RIn>( |
| 290 | build: ( |
| 291 | memoMap: MemoMap, |
| 292 | scope: Scope.Scope |
| 293 | ) => Effect<Context.Context<ROut>, E, RIn> |
| 294 | ): Layer<ROut, E, RIn> => { |
| 295 | const self = Object.create(LayerProto) |
| 296 | self.build = build |
| 297 | return self |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * Constructs a `Layer` from a function that uses a `MemoMap` and `Scope` to |
no outgoing calls
no test coverage detected