Package: effect
Module: Layer
Constructs a child MemoMap effectfully, allowing it to reuse layers already
memoized in the parent while isolating any new layer allocations to the child
map.
When to use
Use when a layer build should inherit already memoized layers from an
existing MemoMap while keeping newly memoized layers out of the parent map.
See
makeMemoMap for creating a root memo map in an EffectforkMemoMapUnsafe for the synchronous constructor variantbuildWithMemoMap for building layers with an explicit memo mapSignature
declare const forkMemoMap: (parent: MemoMap) => Effect<MemoMap>
Since v4.0.0