Skip to content

PDFWorker.create method

PDFWorker › create

Unofficial

Reuses the worker registered for the supplied port, or creates a new worker.

Signature:

create(params?: PDFWorkerParams): PDFWorker

Parameters:

ParameterTypeDescription
params?PDFWorkerParamsWorker parameters.

Returns: PDFWorker — The existing or newly created PDFWorker instance.