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

Function defaultTimeToLive

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

Source from the content-addressed store, hash-verified

227}
228
229const defaultTimeToLive = <A, E>(_: Exit.Exit<A, E>, _key: unknown): Duration.Duration => Duration.infinity
230
231/**
232 * Gets the value for a key, running the cache lookup when no unexpired entry is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected