iOS Swift - Concurrency
What is wrong with this Swift code snippet?
func fetchText() async -> String {
return "Hello"
}
func printText() {
let text = await fetchText()
print(text)
}