Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
`Just`’s `ignoreOutPut` overload.
.ignoreOutput() /// (1) Combine specializes
/// [`Just`’s overload of `ignoreOutput`](
/// to return an `Empty<String, Never>` (note, the output type didn’t get `Never`’d out) instead of wrapping
/// it a [`Publishers.IgnoreOutput`]( level.
.append("anotherStringPostFinished") /// (2) Since upstream is an `Empty<String, Never>` and the
/// `Output` generic _didn’t_ get `Never`’d out, the `append` here can carry on accepting `String`s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.