Adam Rice

Results 52 issues of Adam Rice

Consider the following code: ```js promise_test(async () => { let writer; const ws = new WritableStream({ async close() { await flushAsyncEvents(); writer.write(); } }); writer = ws.getWriter(); await writer.close(); },...

The original transferable streams issue has been closed now that support has been landed, however the discussion of the double transfer problem that started at https://github.com/whatwg/streams/issues/276#issuecomment-482797085 and consumed the rest...

important unsolved question

Chrome implements an optimisation for native streams that effectively allows the underlying source to move to the new thread when they are transferred to a worker. This is a really...

It would be good to have a convenience method to concatenate the contents of a ReadableStream into a (promise for a) Uint8Array. It is unclear what should happen if the...

It would be good to have a convenience method to create a ReadableStream in a DWIM-ish fashion from something else. Logic being something like 1. If X is an async...

On seek, [WebCodecs](https://github.com/WICG/web-codecs/blob/master/explainer.md) would like to be able to throw away all existing data in the decoder so that they don't display any more frames from before the seek point....

addition/proposal

Currently `desiredSize` on ReadableStreamDefaultController and WritableStreamDefaultWriter always reflects the amount of queue space available. This is connected to how much buffering we use. However, a sink may have 324KB of...

important unsolved question

Opaque streams are something we might wish to add in future. An opaque stream is a stream you can't read from, but you can pass it off to APIs that...

https://streams.spec.whatwg.org/commit-snapshots/0ebe4b042e467d9876d80ae045de3843092ad797/#writable-stream-default-controller-get-chunk-size > Let returnValue be the result of performing controller\.\[\[strategySizeAlgorithm\]\], passing in chunk Maybe we should explicitly handle the case where controller.\[\[strategySizeAlgorithm]] is **undefined** here? This can happen after ClearAlgorithms()...

clarification

It appears that coverage testing hasn't worked since 3197c7e69456eda08377c18c78ffc99831b5a35f. I'm not sure it can be fixed. Maybe we should just remove it?

reference implementation