- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 26 Aug 2020 14:19:59 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 26 August 2020 21:20:12 UTC
An alternative would be to go the other way around, and have `stream.write()` only accept blobs/strings/bytes (and not accept "command" chunks, for which you should use `stream.truncate()` and `stream.close()`.) But I'm not sure pushing in that direction would be sound; it feels more like I'm trying to justify the separation, versus actually making the API better. -- 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/1072#issuecomment-681129948
Received on Wednesday, 26 August 2020 21:20:12 UTC