PDFDocumentProxy.cleanup method
PDFDocumentProxy › cleanup
Unofficial
Cleans up resources held by the document.Signature:
cleanup(manuallyTriggered?: boolean | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| manuallyTriggered? | boolean | undefined | Whether cleanup was manually triggered. |
Returns: Promise<void> — A promise that resolves when cleanup is complete.