Created
February 7, 2022 01:02
-
-
Save agiletalk/c86b720653d32aa40bc709d4af69b543 to your computer and use it in GitHub Desktop.
wrong await
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 loadFeedEntries() async throws -> Feed.Entries { | |
let feed = try await loadFeed() | |
let banners = try await loadBanner() | |
let articles = try await loadArticles() | |
let status = try await loadRegularPayment() | |
let watching = try await loadWantedPlusWatching() | |
return Feed.Entries( | |
... | |
banners: banners, | |
articles: articles, | |
status: status, | |
watching: watching, | |
... | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment