RetryOn simplifies retrying streams after failure for subscribers.
Ensure you import RetryOn into the relevant files:
import RetryOn
Integrate the operator within your publisher chain declaration:
let _ = publisher.retryOn(ErrorName, retries: 1, chainedPublisher: useThisPublisherBeforeRetrying)
Add RetryOn to your dependencies:
.package(url: "https://github.com/AbdAlAlii/RetryOn")
RetryOn is licensed under the MIT License. See the LICENSE file for more information.