mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #12182 from tamuratak/fix_destroy
Fix the type of PDFDocumentLoadingTask.destroy.
This commit is contained in:
commit
fea40442f7
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
|
|||
* {@link UNSUPPORTED_FEATURES} argument.
|
||||
* @property {Promise<PDFDocumentProxy>} promise - Promise for document loading
|
||||
* task completion.
|
||||
* @property {Promise<void>} destroy - Abort all network requests and destroy
|
||||
* @property {function} destroy - Abort all network requests and destroy
|
||||
* the worker. Returns a promise that is resolved when destruction is
|
||||
* completed.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue