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

Support asynchronous read-file function (asyncReadFileFn) #304

Closed
wants to merge 5 commits into from

Commits on Sep 16, 2020

  1. support async function for readFileFn

    Raphaël Droz committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    a680887 View commit details
    Browse the repository at this point in the history
  2. don't let async guard to the implementer but make asyncReadFileFn saf…

    …e out-of-the-box
    Raphaël Droz committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    0e59fe5 View commit details
    Browse the repository at this point in the history
  3. promise based read-locking

    Raphaël Droz committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    62d71cf View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. When streams we may be unable to correctly/exactly compute the final …

    …total amount of bytes to upload.
    
    The number of chunks may also be off. Let fail safely:
    - if read using an async function
    - and the last chunk read less bytes than usual (including 0)
    - and the current chunk read no byte
    - assume that this chunk is in fact superfluous and simulate its completion.
    
    Previous discussion on:
    flowjs#42
    flowjs#318
    
    In the long-term Flow.js may have to support the concept of "approximate chunk number".
    Raphaël Droz committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    9b93ac9 View commit details
    Browse the repository at this point in the history
  2. bundles

    Raphaël Droz committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    86a87e7 View commit details
    Browse the repository at this point in the history