-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove legacy promises from api.js #4709
Conversation
@@ -1199,7 +1202,8 @@ var RenderTask = (function RenderTaskClosure() { | |||
* Promise for rendering task completion. | |||
* @type {Promise} | |||
*/ | |||
this.promise = new PDFJS.LegacyPromise(); | |||
this.capability = PDFJS.createPromiseCapability(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's hide that in the InternalRenderTask and call reject and resolve there
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.22.172.223:8877/440d3403833eaf6/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.21.233.14:8877/0128c551e14d915/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/440d3403833eaf6/output.txt Total script time: 22.10 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/0128c551e14d915/output.txt Total script time: 25.74 mins
|
Remove legacy promises from api.js
Thank you for the patch |
No description provided.