Skip to content

ensureMetadataCacheReady

Ensures that the metadata cache is ready for all files.

Import:

import { ensureMetadataCacheReady } from '@mnaoumov/obsidian-lib/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.