Function clipboard_win::with_clipboard_attempts
source · Expand description
Runs provided callable with open clipboard, returning whether clipboard was open successfully.
If clipboard fails to open, attempts num
number of retries before giving up.
In which case closure is not called