Open alexrintt opened 2 years ago
Hi, I'm very interested in a stream based API to read and write documents as I'm building an app that is potentially used to upload and download very big files from/to local storage. This is also a feature, so please add the label and change the title :)
Listed, would be useful to have some way to read line by line (or maybe chunks?) with some kind of metadata (current line|chunks, max lines|chunks) rather of reading entire file at once.
i'm waiting.. this update...
when update? this function? ( My file is 4GB...... OTL )
thanks your support.
Describe the bug
getDocumentContent
function "crash" the app if the document is too long.This happens when trying to read apk files.
To Reproduce
Open the example app and try to click over an apk file card.
Expected behavior
There's some way to asynchronously read the file contents.
Screenshots
Not applicable.
Additional context
Possible solutions:
Stream
that emits a new event right after each new line rather of reading all lines then returning.