iOS Swift - Concurrency
Consider this Swift code:
What is the output?
func fetchNumber() async -> Int {
return 10
}
Task {
let num = await fetchNumber()
print(num * 2)
}What is the output?
