Expand description
Batch helpers for processing many PDFs with a bounded worker pool.
Structs§
- Batch
Config - Configuration for
process_batchandPdfBatchhelpers. - Batch
Result - Aggregated outcome of a batch run.
- PdfBatch
- Convenience helpers built on top of
process_batch.
Enums§
- Error
Strategy - How batch processing should classify per-file failures.
Functions§
- process_
batch - Process a list of PDF paths with a fixed-size worker pool.
- process_
batch_ with_ page_ progress process_batchwith a per-page progress callback, invoked as(done, total)with the current file’s page counts: a three-page file reports(1, 3)through(3, 3)once it has been read. It fires only for files that open and process successfully, from the worker thread; with several workers the files interleave. The per-file callback inBatchConfig::on_progressstill fires as before.