- From: Adam Rice <notifications@github.com>
- Date: Wed, 19 Oct 2016 22:55:25 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 20 October 2016 05:55:55 UTC
I just realised that we can resolve this for getters by creating the Promise lazily when the getter is used. So, for example, the [[closedPromise]] slot of WritableStreamDefaultWriter would be undefined until `.closed` was accessed. User code which actually uses the getter is required to handle rejections. -- 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/547#issuecomment-255015765
Received on Thursday, 20 October 2016 05:55:55 UTC