Hyperlinkv0.8.0-beta.28

Cache

Cache.Entryinterfaceeffect/Cache.ts:130
Entry<A, E>

Represents a low-level cache entry containing a deferred lookup result and an optional expiration timestamp.

When to use

Use when inspecting a Cache's low-level map and you need the stored deferred lookup result or expiration timestamp for a key.

Details

An expiresAt value of undefined means the entry does not expire.

modelsCache
Source effect/Cache.ts:1304 lines
export interface Entry<A, E> {
  expiresAt: number | undefined
  readonly deferred: Deferred.Deferred<A, E>
}
Referenced by 3 symbols