( self: Layer<ROut, E, RIn> )
| 697 | * @since 2.0.0 |
| 698 | */ |
| 699 | export const build = <RIn, E, ROut>( |
| 700 | self: Layer<ROut, E, RIn> |
| 701 | ): Effect<Context.Context<ROut>, E, RIn | Scope.Scope> => |
| 702 | core.withFiber((fiber) => |
| 703 | buildWithMemoMap( |
| 704 | self, |
| 705 | CurrentMemoMap.forkOrCreate(fiber.context), |
| 706 | Context.getUnsafe(fiber.context, Scope.Scope) |
| 707 | ) |
| 708 | ) |
| 709 | |
| 710 | /** |
| 711 | * Builds a layer using an explicit scope. |
no test coverage detected