(
self: Context.Context<Services>,
options?: { readonly fresh?: Iterable<Layer<any, any, any>> | undefined }
)
| 620 | */ |
| 621 | export class CurrentMemoMap extends Context.Service<CurrentMemoMap, MemoMap>()("effect/Layer/CurrentMemoMap") { |
| 622 | static forkOrCreate<Services>( |
| 623 | self: Context.Context<Services>, |
| 624 | options?: { readonly fresh?: Iterable<Layer<any, any, any>> | undefined } |
| 625 | ): MemoMap { |
| 626 | const current = Context.getOrUndefined(self, CurrentMemoMap) |
| 627 | return current ? forkMemoMapUnsafe(current, options) : makeMemoMapUnsafe() |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | /** |
no test coverage detected