iterateCacheRefs() function
Warning: This API is now obsolete.
Iterate links and embeds. If callback returns true, the iteration process will be interrupted.
Signature:
export function iterateCacheRefs(cache: CachedMetadata, cb: (ref: ReferenceCache) => boolean | void): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
cache | CachedMetadata | |
cb | (ref: ReferenceCache ) โ boolean | void |
Returns:
boolean
true if callback ever returns true, false otherwise.