Republishes all elements that match a provided error-throwing closure.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
A closure that takes one element and returns a Boolean value indicating whether to republish the element.
A publisher that republishes all elements that satisfy the closure.
is closure throws an error, the publisher fails with that error.