- From: Adam Rice <notifications@github.com>
- Date: Fri, 14 Oct 2022 02:54:42 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 October 2022 09:54:54 UTC
Consider the following code:
```js
let synchronous;
new ReadableStream({
pull(controller) {
synchronous = true;
controller.enqueue();
synchronous = false;
}
}).pipeTo(new WritableStream({
write() {
console.log(synchronous);
}
});
```
1. Is this allowed to print `true`?
2. Should it be allowed to print `true`?
3. Is an implementation which prints `true` web-compatible?
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1243
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/streams/issues/1243@github.com>
Received on Friday, 14 October 2022 09:54:54 UTC