English topic guide inspired by the original iOS Developer Notebook, expanded for both iOS and Android teams.
await withTaskGroup(of: Void.self) { group in
group.addTask { await syncProfile() }
group.addTask { await syncSettings() }
await group.waitForAll()
}
coroutineScope {
val profile = async { syncProfile() }
val settings = async { syncSettings() }
awaitAll(profile, settings)
}