effect-io-ai

Package: effect
Module: Layer

Layer.CurrentMemoMap

Context service for the current MemoMap used in layer construction.

When to use

Use when building custom layer operations that need to access the current memoization map from the fiber context.

Details

This service wraps a MemoMap as a Context.Service, making it available for dependency injection during layer construction.

See

Signature

declare class CurrentMemoMap

Source

Since v3.13.0