- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 19 Jan 2015 19:25:13 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 20 January 2015 03:25:42 UTC
@domenic OK. So, it means that `rs.ready` should return the same instance until we're asked to replace `[[readyPromise]]` on e.g. `"readable"` to `"waiting"` transition? How about the result of `cancel()` call on a `"closed"` or "`errored`" stream? It's now specified to return `[[closedPromise]]` than creating a new one resolved/rejected for efficiency. Do you think it also should be a requirement? BTW, `writableStream.close()` can also be simplified to return its `[[closedPromise]]` when the stream is in the `"closed"` or `"errored"` state. /cc @yutakahirano --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/266#issuecomment-70599032
Received on Tuesday, 20 January 2015 03:25:42 UTC