Constructor
new PDFWorker(params)
Parameters:
Name | Type | Description |
---|---|---|
params |
PDFWorkerParameters | The worker initialization parameters. |
Members
messageHandler :MessageHandler
The current MessageHandler-instance.
Type:
- MessageHandler
port :Worker
The current `workerPort`, when it exists.
Type:
- Worker
promise :Promise:.<void:>
Promise for worker initialization completion.
Type:
(static) workerSrc :string
The current `workerSrc`, when it exists.
Type:
- string
Methods
destroy()
Destroys the worker instance.
(static) fromPort(params)
Parameters:
Name | Type | Description |
---|---|---|
params |
PDFWorkerParameters | The worker initialization parameters. |