Last active
May 30, 2024 08:46
-
-
Save JadenGeller/a16e2d6d1c28461109f07751a67e81f3 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
extension Task where Success == Never, Failure == Never { | |
static let perpetual = Task { | |
await withCheckedContinuation { (_: CheckedContinuation<Void, Never>) in } | |
preconditionFailure() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment