Re: [whatwg/streams] ReadableStreamBYOBReader.prototype.readFully(view) (#1143)

> > Should we also have a shorthand `ReadableStream.readFully(view)`?
> 
> IMO we should only do that if we do #1072.

Sure! 🙂

> > Would it have the same signature, i.e. returning `Promise<ReadableStreamBYOBReadResult>`?
> 
> Seems like it should; any reason to deviate?

It might be a bit weird to have a `ReadableStreamBYOBReadResult` outside of a `ReadableStreamBYOBReader`. But yeah, it was more of a stylistic question. 😛

---

Anyway, I'm gonna try some experiments on the reference implementation, see if I can get this thing to work. 👨‍🔬

-- 
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/1143#issuecomment-878646840

Received on Monday, 12 July 2021 22:47:27 UTC