- From: snianu <notifications@github.com>
- Date: Tue, 09 May 2023 13:41:43 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 May 2023 20:41:49 UTC
[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