We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.ReadableStreamReadResult.html
I think done and value should return bool/jsvalue rather than take them as parameters.
done
value
I'm not 100% sure about conventions, but AFAICT this is a result of a read() call for extracting data so would never be constructed by hand. https://stackoverflow.com/questions/75141183/how-to-select-a-file-as-bytes-or-text-in-rust-wasm cites having an issue with it. https://github.com/MattiasBuelens/wasm-streams/blob/main/src/readable/sys.rs#L176 shows what I expected the interface to be.
read()
I didn't see an existing issue so I'm opening this for clarity.
The text was updated successfully, but these errors were encountered:
Duplicate of #1793. See #2782 as well.
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.ReadableStreamReadResult.html
I think
done
andvalue
should return bool/jsvalue rather than take them as parameters.I'm not 100% sure about conventions, but AFAICT this is a result of a
read()
call for extracting data so would never be constructed by hand. https://stackoverflow.com/questions/75141183/how-to-select-a-file-as-bytes-or-text-in-rust-wasm cites having an issue with it. https://github.com/MattiasBuelens/wasm-streams/blob/main/src/readable/sys.rs#L176 shows what I expected the interface to be.I didn't see an existing issue so I'm opening this for clarity.
The text was updated successfully, but these errors were encountered: