pdfextract API
    Preparing search index...

    Interface OperationOptions

    Cancellation and synchronous progress notifications for a single extraction or recognition operation.

    interface OperationOptions {
        onProgress?: (event: ProgressEvent) => void;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index
    onProgress?: (event: ProgressEvent) => void

    Called during work. Keep callbacks lightweight and avoid throwing.

    signal?: AbortSignal

    Aborts queued work promptly; a synchronous engine decode already running may finish before cleanup.