-
-
Save jasdev/e9b7c099544c7513415e15e789ed2975 to your computer and use it in GitHub Desktop.
Custom `Publisher.share` scaffolding.
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
import Combine | |
extension Publisher { | |
func cher() -> AnyPublisher<Output, Failure> { /// (1) `cher` to avoid | |
/// colliding with `share` and for now, returning `AnyPublisher` | |
/// until we have a fuller type in hand. My | |
/// [post on operator fusion](https://jasdev.me/fusion-primer) has | |
/// more detail on the erasure and full-type dance. | |
fatalError("To be implemented.") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment