content.loadSnapshot()
Hydrate one source's parsed bodies into the cache from a snapshot.
content.loadSnapshot(source)
Hydrates one source's parsed bodies into the cache from cache.loadSnapshot. Called lazily by get() the first time a source is read; a no-op unless a cache.loadSnapshot loader is configured.
Parameters:
source: the source name.
Returns: Promise<void>
Usage
usage.ts
await content.loadSnapshot('default')