reinitializeFormatAndParsingsMaps Method

Reinitialize caches. Typically called by active UnitFormattingSettingsProvider. startDefaultTool - set to true to start the Default to instead of leaving any active tool pointing to cached unit data that is no longer valid

reinitializeFormatAndParsingsMaps(overrideFormatPropsByUnitSystem: Map<UnitSystemKey, Map<string, FormatProps>>, unitSystemKey?: UnitSystemKey, fireUnitSystemChanged?: boolean, startDefaultTool?: boolean): Promise<void>

Parameter Type Description
overrideFormatPropsByUnitSystem Map<UnitSystemKey, Map<string, FormatProps>>  
unitSystemKey UnitSystemKey  
fireUnitSystemChanged boolean  
startDefaultTool boolean  

Returns - Promise<void>

Defined in

Last Updated: 30 November, 2023