[Delayed Clipboard Rendering] Does macOS support setting the data for the requested pasteboard item asynchronously? #425
Labels
Delayed-Clipboard-Rendering
Ability to delay the generation of a particular payload until it is needed by the target application
NSPasteboardItemDataProvider 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 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
The text was updated successfully, but these errors were encountered: