Skip to content

Instantly share code, notes, and snippets.

@Amzd
Last active January 16, 2021 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Amzd/5e2774f3dcd187fbd38ae1b2372a308e to your computer and use it in GitHub Desktop.
Save Amzd/5e2774f3dcd187fbd38ae1b2372a308e to your computer and use it in GitHub Desktop.
Void publisher result
extension Publisher {
func void() -> Publishers.Map<Self, Void> {
self.map { _ in () }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment