Skip to content

Instantly share code, notes, and snippets.

@jasdev
Last active April 4, 2020 20:54
Show Gist options
  • Save jasdev/d88cc0d9154a4bcc4b5cc2444d9f4418 to your computer and use it in GitHub Desktop.
Save jasdev/d88cc0d9154a4bcc4b5cc2444d9f4418 to your computer and use it in GitHub Desktop.
`Publisher.ignoreOutput` with `append`ing attempt.
Just("someString")
.eraseToAnyPublisher()
.ignoreOutput()
.append("anotherStringPostFinished") /// ❌ “Instance method ‘`append`’ requires the types ‘`Never`’
/// and ’`String.Element`’ (aka ‘`Character`’) be equivalent.”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment