- From: Yutaka Hirano <notifications@github.com>
- Date: Tue, 03 Feb 2015 20:04:25 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 4 February 2015 04:04:52 UTC
If we ensure `.ready` object identity and specify that breaks when the internal state changes, a user can observe an internal state change even when locked. That is not desirable. ``` var stream = ...; assert stream is locked to someone; var p = stream.ready; ... var q = stream.ready; if (p !== q) { // I cannot see the internal state, but I'm sure something happens! } ``` --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/266#issuecomment-72787204
Received on Wednesday, 4 February 2015 04:04:52 UTC