Re: [whatwg/streams] Allow other specifications to create readable byte streams (#1130)

@domenic commented on this pull request.



>  <p algorithm>To <dfn export for="ReadableStream">enqueue</dfn> the JavaScript value |chunk| into a
 {{ReadableStream}} |stream|, perform !
 [$ReadableStreamDefaultControllerEnqueue$](|stream|.[=ReadableStream/[[controller]]=], |chunk|).

Added, although now I'm wondering if we should combine the algorithms into "enqueue", which branches on the controller type. (And asserts that |chunk| is an ArrayBufferView in the byte streams case.) Hmm...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1130#discussion_r668260076

Received on Monday, 12 July 2021 21:12:45 UTC