MCPcopy Create free account
hub / github.com/LibPDF-js/core / invalidateAnnotationCache

Method invalidateAnnotationCache

src/api/pdf-page.ts:2350–2352  ·  view source on GitHub ↗

* Invalidate the annotation cache. * Called when annotations are added or removed.

()

Source from the content-addressed store, hash-verified

2348 * Called when annotations are added or removed.
2349 */
2350 private invalidateAnnotationCache(): void {
2351 this._annotationCache = null;
2352 }
2353
2354 // ─────────────────────────────────────────────────────────────────────────────
2355 // Internal Helpers

Callers 3

removeAnnotationMethod · 0.95
flattenAnnotationsMethod · 0.95
addAnnotationRefMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected