Created
May 31, 2021 07:30
-
-
Save alfianlosari/03b534f8963c9193f9e554d2554c29db to your computer and use it in GitHub Desktop.
Public Task Interface
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 Failure == Never { | |
public init(priority: TaskPriority? = nil, operation: @escaping @Sendable () async -> Success) | |
public init(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment