Can DispatchQueue.global().async be converted to async/await for a synchronous function?
I'm converting my old project from DispatchQueue to async await, there's a time consuming operation which I wrapped in the global dispatch queue: DispatchQueue.global().async { self.processed = processData(input) DispatchQueue.main.async { render() // reload UI with self.processed } } processData() is…