- From: Randall Leeds <notifications@github.com>
- Date: Tue, 26 Dec 2023 18:18:09 -0800
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 December 2023 02:18:14 UTC
To coexist with callbacks, if I understand the union issue correctly, that would have to be:
```
navigator.clipboard.write(new ClipboardItem({
'text/html': Promise.resolve(new ReadableStream({
pull(controller) {
// This will only be called when the consumer reads it, so this is still about "have callback".
controller.enqueue(bytes);
}),
type: "bytes",
}, { highWaterMark: 0 })),
}));
```
No?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/423#issuecomment-1869883962
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/editing/issues/423/1869883962@github.com>
Received on Wednesday, 27 December 2023 02:18:14 UTC