PDFDocumentLoadingTask
Unofficial
A task representing an ongoing PDF document loading operation.
Import:
import type { PDFDocumentLoadingTask } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface PDFDocumentLoadingTaskProperties
| Property | Type | Description | |
|---|---|---|---|
| promise | Promise<PDFDocumentProxy> | Promise that resolves when the document is loaded. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| destroy() | void | Destroys the loading task. | |
| onPassword(updateCallback, reason) | void | Callback for password-protected documents. | |
| onProgress(progressData) | void | Callback for loading progress updates. |
Links to this page: