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
- quantity/src/Formatter/Interfaces.ts Line 242
Last Updated: 30 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.