Skip to content

Instantly share code, notes, and snippets.

@Amzd
Last active Jan 16, 2021
Embed
What would you like to do?
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