SyncFormatsProvider Interface @beta

Optional capability for providers that can resolve format definitions from local data without awaiting.

@note Implementations should use already-loaded local data and avoid schema loading or asynchronous I/O from this method.

Methods

Name Description
getFormatSync(name: string, system?: UnitSystemKey, context?: FormatsProviderContext): FormatDefinition | undefined Return a locally available format definition, or undefined when unavailable.  

Defined in

Last Updated: 30 September, 2026