Package: effect
Module: ScopedCache
Retrieves all active keys from the cache, automatically filtering out expired entries.
When to use
Use to inspect currently cached unexpired keys without running cache lookups.
Gotchas
Expired entries are removed and their scopes are closed while filtering.
See
entries for retrieving successful cached key-value pairsvalues for retrieving only successfully cached valuesSignature
declare const keys: <Key, A, E, R>(self: ScopedCache<Key, A, E, R>) => Effect.Effect<Array<Key>>
Since v4.0.0