Skip to Content

ttlForType

ttlForType(factType: string | null, policy?: Partial<DecayPolicy>): number

Defined in: src/lib/memory/decay.ts:139 

The age TTL for a fact type. null / unknown types fall to the medium fallback bucket (never Infinity — untyped rows must still eventually age out).

Parameters

ParameterType

factType

string | null

policy?

Partial<DecayPolicy>

Returns

number

Last updated on