Whether the loading task is destroyed or not.
Unique identifier for the document loading task.
Callback to request a password if a wrong or no password was provided. The callback receives two parameters: a function that should be called with the new password, and a reason (see PasswordResponses).
Callback to be able to monitor the loading progress of the PDF file (necessary to implement e.g. a loading bar). The callback receives an OnProgressParameters argument.
Promise for document loading task completion.
Abort all network requests and destroy the worker.
A promise that is resolved when destruction is completed.