Merge pull request #12182 from tamuratak/fix_destroy
Fix the type of PDFDocumentLoadingTask.destroy.
This commit is contained in:
commit
fea40442f7
@ -450,7 +450,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
|
|||||||
* {@link UNSUPPORTED_FEATURES} argument.
|
* {@link UNSUPPORTED_FEATURES} argument.
|
||||||
* @property {Promise<PDFDocumentProxy>} promise - Promise for document loading
|
* @property {Promise<PDFDocumentProxy>} promise - Promise for document loading
|
||||||
* task completion.
|
* 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
|
* the worker. Returns a promise that is resolved when destruction is
|
||||||
* completed.
|
* completed.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user