getFormatSpecHandle Method @beta

Create a cacheable handle to formatting specs for a specific KoQ and persistence unit. The handle auto-refreshes when the QuantityFormatter reloads. Call dispose() when done.

getFormatSpecHandle(koqName: string, persistenceUnit: string, system?: UnitSystemKey): FormatSpecHandle

@returns A FormatSpecHandle that auto-updates on reload

Parameter Type Description
koqName string The KindOfQuantity name (e.g., "DefaultToolsUnits.LENGTH")
persistenceUnit string The persistence unit name (e.g., "Units.M")
system UnitSystemKey  

Returns - FormatSpecHandle

A FormatSpecHandle that auto-updates on reload

Defined in

Last Updated: 25 April, 2026