Function: cachedRecord()
cachedRecord<
T>(key,loader):T|undefined
Load and cache a parsed record by caller-defined source identity.
Every result is cached, including empty records and undefined. Include every
input that affects parsing in key, such as a file path plus a Databricks
profile.
Type Parameters
Section titled “Type Parameters”T extends Record<string, unknown>
Parameters
Section titled “Parameters”string
loader
Section titled “loader”() => T | undefined
Returns
Section titled “Returns”T | undefined