Republishes all elements that match a provided error-throwing closure.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
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.