Class: PDFWorker

pdfjsLib~PDFWorker.PDFWorker(params)

PDF.js web worker abstraction that controls the instantiation of PDF documents. Message handlers are used to pass information from the main thread to the worker thread and vice versa. If the creation of a web worker is not possible, a "fake" worker will be used instead.

Constructor

new PDFWorker(params)

Parameters:
Name Type Description
params PDFWorkerParameters Worker initialization parameters.
Source: