[w3c/editing] [Delayed Clipboard Rendering] Does macOS support setting the data for the requested pasteboard item asynchronously? (Issue #425)

[NSPasteboardItemDataProvider](https://developer.apple.com/documentation/appkit/nspasteboarditemdataprovider?language=objc) provides a way to set a data provider for a pasteboard item. This data provider can be used to provide the data for a particular pasteboard item upon request. But, when [pasteboard:item:provideDataForType](https://developer.apple.com/documentation/appkit/nspasteboarditemdataprovider/1508503-pasteboard?language=objc) is called, there is no way to asynchronously populate data for the requested pasteboard item. In provideDataForType, the data needs to be set synchronously.
On macOS, is there a way to defer the population of data for the requested pasteboard item so UAs could initiate an async task to populate the data from sites without blocking the main browser process?
@whsieh @annevk @sanketj 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/425
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/425@github.com>

Received on Tuesday, 9 May 2023 20:41:49 UTC