I have an async function that computes the data to be copied and later in that function if the data is successfully computed, it copies the data to the clipboard using