Commit 1b749ca
committed
Refactor PdfEngine to use queued task orchestration
Refactors PdfEngine and related orchestrator code to enqueue all PDF operations through a WorkerTaskQueue, ensuring serialized and prioritized execution. Removes legacy encoder pool logic and introduces CompoundTask for aggregating multi-page operations such as annotation and search. Updates type signatures and progress reporting for improved consistency and extensibility. Adds CompoundTask utility to models for advanced task composition.1 parent c9b5045 commit 1b749ca
9 files changed
Lines changed: 739 additions & 392 deletions
File tree
- packages
- engines/src/lib
- orchestrator
- pdfium/web
- models/src
- plugin-render/src/lib
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 228 | | |
234 | 229 | | |
235 | 230 | | |
| |||
0 commit comments