Re: [w3c/clipboard-apis] Support for delayed clipboard data (#41)

> data.items.add("expensive", function () {
>   // Called only when something tries to read data of the "expensive" type
>   return generateExpensiveData();
> });

Presumably most OSes require pushing the data actively to the clipboard. Would it make sense to use a Promise here, since we are directly triggering the write with the API?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/41#issuecomment-289612439

Received on Monday, 27 March 2017 23:07:13 UTC