Created
October 7, 2024 18:16
-
-
Save robertmryan/56473f746e2f0bc78bcc70237bd8aeb3 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 dummyLoop() async throws { | |
print("inside dummy fcn") | |
for i in 0 ..< 10 { | |
print("Loop \(i)") | |
try await Task.sleep(for: .seconds(1)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment