Created
July 16, 2021 14:10
-
-
Save aataraxiaa/f5d56c9e4e1b09b36bc9bd7f04284134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func fetchDataPair(from urls: (URL, URL)) async throws -> (ModelWrapper, ModelWrapper) { | |
let resultOne = try await fetchData(from: urls.0) | |
let resultTwo = try await fetchData(from: urls.1) | |
return (resultOne, resultTwo) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment