Replies: 1 comment 2 replies
-
Indeed, I can confirm that it would be great if you could close the file via a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To achieve this in a NodeJS server, I implemented
FileReader
class as follow:I don't know whether this implementation is correct. I'm serving files inside a zip directly to HTTP/2 client (webview), however big amount of concurrent requests seemed to crash NodeJS server:
Also, if I save the
handle
for later use (rather than callingopen()
andclose()
every timereadUint8Array()
is called), I cannot find a way to close it, so that NodeJS showed me the following warning:Beta Was this translation helpful? Give feedback.
All reactions