Skip to content

PDFDocumentLoadingTask

Unofficial

A task representing an ongoing PDF document loading operation.

Import:

import type { PDFDocumentLoadingTask } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface PDFDocumentLoadingTask

Properties

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: