core.medplumclient.getinitpromise | Medplum
MedplumClient.getInitPromise() method
Gets a Promise that resolves when async initialization is complete. This is particularly useful for waiting for an async ClientStorage and/or authentication to finish.
Signature:
getInitPromise(): Promise<void>;
Returns:
Promise
A Promise that resolves when any async initialization of the client is finished.