- From: Luca Casonato <notifications@github.com>
- Date: Mon, 12 Jun 2023 13:47:45 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 June 2023 20:47:50 UTC
I have now implemented a v2 that runs the cancel algorithm prior to cancel / abort of the other side. I have opted for the approach where all of `rs.cancel` `ws.close` and `ws.abort` will all either resolve or reject (never one resolves one rejects), and that the first one always wins. https://github.com/whatwg/streams/pull/1283/commits/5b00d087808627517d5b35f765eaf5a1ecb2dc5b This required updating some test expectations (the ones making the assumption that `ws.abort` and `rs.cancel` are sync, which due to micotask changes is not the case anymore). https://github.com/web-platform-tests/wpt/pull/40453/commits/41567169c2658d99482a75214a60c575808e7ef2 PTAL! -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1283#issuecomment-1588070058 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/pull/1283/c1588070058@github.com>
Received on Monday, 12 June 2023 20:47:50 UTC