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
| extension AnyPublisher where Failure: Error { | |
| struct Subscriber { | |
| fileprivate let send: (Output) -> Void | |
| fileprivate let complete: (Subscribers.Completion<Failure>) -> Void | |
| func send(_ value: Output) { self.send(value) } | |
| func send(completion: Subscribers.Completion<Failure>) { self.complete(completion) } | |
| } | |
| init(_ closure: (Subscriber) -> AnyCancellable) { |
OlderNewer