You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JS bindings take a Box<[u8]> right now, but it would be nice if they took a ReadableStream or ReadableStreamByobReader (wrapped as a JsValue?) that we could wrap into a Read to pass along to get_reader. I think those return Promises or Futures so we might have to use async and a wrapper, e.g. https://docs.rs/wasm-streams/latest/wasm_streams/readable/struct.ReadableStreamBYOBReader.html
The text was updated successfully, but these errors were encountered:
The JS bindings take a
Box<[u8]>
right now, but it would be nice if they took aReadableStream
orReadableStreamByobReader
(wrapped as aJsValue
?) that we could wrap into aRead
to pass along toget_reader
. I think those returnPromise
s orFuture
s so we might have to use async and a wrapper, e.g. https://docs.rs/wasm-streams/latest/wasm_streams/readable/struct.ReadableStreamBYOBReader.htmlThe text was updated successfully, but these errors were encountered: