Skip to content

MetadataCache.clear method

MetadataCache › clear

Unofficial

Clear all metadata caches and reset state.

Signature:

clear(): Promise<void>

Returns: Promise<void>A promise that resolves when all caches are cleared. To get the constructor instance, use getMetadataCacheConstructor from obsidian-typings/implementations.