-
Notifications
You must be signed in to change notification settings - Fork 66
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
Will this use the FileReader to read? #2
Comments
I agree though that we'll want to reuse API's wherever possible. These are mostly just strawmen API ideas, rather than what I expect the final API to use. @inexorabletash @cmumford thoughts? |
Or maybe something like https://streams.spec.whatwg.org/#rs-class ReadableStream |
I assume we'll use File if possible. And while I'd love File to grow more usable reading methods like Request/Response's Body that's probably out of scope, so I would assume File/FileReader are there. |
One plausible API sketch is here: https://gist.github.com/petkaantonov/37a9c64ea2bbd1aa3ca5 |
This sounds like a reasonable start to me. |
Current proposal does in fact use |
I would expect the API to prefer to use the
File
andFileReader
API rather than a new customread
function.The text was updated successfully, but these errors were encountered: