Creates a publisher that attempts to recreate its subscription to a failed upstream publisher.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
The publisher from which this publisher receives its elements.
The maximum number of retry attempts to perform. If
nil, this publisher attempts to reconnect with the upstream publisher an unlimited number of times.