whenInitialized

GetterReadOnly

A promise that resolves after the first successful initialization. This is one-shot — it resolves once and stays resolved forever. For subsequent reloads, subscribe to onFormattingReady.

This promise never rejects. If the first initialization attempt fails, it stays pending until a subsequent reload succeeds (e.g., triggered by setUnitsProvider or a format change). There is no finite retry limit, so rejection would prematurely close the door on recovery.

whenInitialized: Promise<void>

Returns - Promise

Defined in

Last Updated: 25 April, 2026