Re: [whatwg/streams] TransformStream cleanup using "Transformer.cancel" (PR #1283)

> For the test part, could we replace `await delay(0);` with something else?

I could replace them with a fixed set of `queueMicrotask`, but I instead went with the approach used in other streams tests. It exists only to drain the current microtask queue before the next statement, not because the tests are timing sensitive.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1283#issuecomment-1613522907
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1283/c1613522907@github.com>

Received on Thursday, 29 June 2023 16:49:59 UTC