Last active
December 2, 2022 11:19
-
-
Save kiarashvosough1999/952e9c1ff067303e522a5b4bd2d0891b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
protocol CancelableTask: Sendable { | |
var hashValue: Int { get } | |
func cancel() | |
} | |
extension Task: CancelableTask {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment