Created
January 30, 2022 10:34
-
-
Save SebastianBoldt/bb939c1d2365755737f12df6afd359b3 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 fetchItems() async throws { | |
for try await item in getAsyncSequence() { | |
print("Received item: \(item)") | |
} | |
} | |
try? await fetchItems() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment