Skip to content
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

Use async a bit more in the API #13943

Merged
merged 1 commit into from
Aug 29, 2021

Commits on Aug 29, 2021

  1. Use async a bit more in the API

    This patch changes the `PDFDocumentLoadingTask.destroy`-method and the `_fetchDocument`-function to be `async`, which slightly simplifies the relevant code.
    
    Furthermore, remove the catch-handler from the `WorkerTransport.getPageIndex`-method since it's no longer needed. Given that the `MessageHandler` is nowadays wrapping every possible Exception, it's no longer necessary to try and re-wrap the reason here.
    Snuffleupagus committed Aug 29, 2021
    Configuration menu
    Copy the full SHA
    ce3f5ea View commit details
    Browse the repository at this point in the history