effect-io-ai

Package: effect
Module: Layer

Layer.forkMemoMap

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

Signature

declare const forkMemoMap: (parent: MemoMap) => Effect<MemoMap>

Source

Since v4.0.0