(self: Context.Context<Services>)
| 583 | */ |
| 584 | export class CurrentMemoMap extends Context.Service<CurrentMemoMap, MemoMap>()("effect/Layer/CurrentMemoMap") { |
| 585 | static forkOrCreate<Services>(self: Context.Context<Services>): MemoMap { |
| 586 | const current = Context.getOrUndefined(self, CurrentMemoMap) |
| 587 | return current ? forkMemoMapUnsafe(current) : makeMemoMapUnsafe() |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | /** |
no test coverage detected