ensureMetadataCacheReady
Ensures that the metadata cache is ready for all files.
Import:
import { ensureMetadataCacheReady } from 'obsidian-dev-utils/obsidian/metadata-cache';Signature:
function ensureMetadataCacheReady(app: App): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
Returns: Promise<void> — A Promise that resolves when the metadata cache is ready.