PDFWorker.fromPort method
PDFWorker › fromPort
Unofficial
Creates a PDFWorker from an existing port.Signature:
fromPort(params: PDFWorkerFromPortParams): PDFWorkerParameters:
| Parameter | Type | Description |
|---|---|---|
| params | PDFWorkerFromPortParams | Parameters including the port. |
Returns: PDFWorker — A new PDFWorker instance.