effect-io-ai

Package: effect
Module: ScopedCache

ScopedCache.Lookup

Similar to Cache.Lookup, but executes the lookup function within a Scope.

Signature

type Lookup<Key, Value, Error, Environment> = (
  key: Key
) => Effect.Effect<Value, Error, Environment | Scope.Scope>

Source

Since v2.0.0