iOS Swift - Concurrency
Identify the error in this Swift code using structured concurrency:
func loadData() async {
await withTaskGroup(of: String.self) { group in
group.addTask { "First" }
group.addTask { "Second" }
for value in group {
print(value)
}
}
}