Created
January 29, 2019 19:41
-
-
Save fonkadelic/40a1d9275489dc159e4709db0d447f33 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
public struct Parallel<Value, Error: Swift.Error> { | |
public typealias Callback = (Result<Value, Error>) -> Void | |
public let run: (@escaping Callback) -> Void | |
public let cancel: () -> Void | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment