- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Fri, 15 Dec 2023 13:56:27 -0800
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 December 2023 21:56:32 UTC
Hmm, I was not fully understanding this issue back in the meeting, as my focus was on a different issue. To reiterate what @smaug---- with some code, can this be:
```js
navigator.clipboard.write(new ClipboardItem({
'text/html': 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 }),
}));
```
I think this can coexist with callback, though.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/423#issuecomment-1858535412
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/editing/issues/423/1858535412@github.com>
Received on Friday, 15 December 2023 21:56:32 UTC