iOS Swift - Concurrency
Given these async functions:
How can you optimize
func fetchA() async -> Int { 1 }
func fetchB() async -> Int { 2 }
func combined() async -> Int {
let a = await fetchA()
let b = await fetchB()
return a + b
}How can you optimize
combined() to run both fetches concurrently using await?