MCPcopy Create free account
hub / github.com/Effect-TS/effect / defaultTimeToLive

Function defaultTimeToLive

packages/effect/src/Cache.ts:323–323  ·  view source on GitHub ↗
(_: Exit.Exit<A, E>, _key: unknown)

Source from the content-addressed store, hash-verified

321}
322
323const defaultTimeToLive = <A, E>(_: Exit.Exit<A, E>, _key: unknown): Duration.Duration => Duration.infinity
324
325/**
326 * Retrieves the value for a key, invoking the lookup function on a cache miss

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected