- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 13 Nov 2020 13:11:05 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 November 2020 21:11:18 UTC
The algorithm for other specs to [create](https://streams.spec.whatwg.org/#readablestream-create) a readable stream isn't really usable, at least for the case of a readable stream with a pull underlying source. In particular, you need to pass a _pullAlgorithm_. But that _pullAlgorithm_ will need to [enqueue](https://streams.spec.whatwg.org/#readablestream-enqueue), close, etc. the stream. But the stream hasn't been created yet! I'm not sure what the right fix is here. People can work around it using Web IDL's "new" + our [set up](https://streams.spec.whatwg.org/#readablestream-set-up), but that kind of sucks. -- 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/issues/1084
Received on Friday, 13 November 2020 21:11:18 UTC