Initial Commit
The RetryOn makes it simple for subscribers to retry and run a stream upon a failure.
Ensure to import RetryOn in each file you wish to have access to the utility.
The operator can be then used as part of your usual publisher chain declaration:
let _ = publisher.retryOn(ErrorName, retries: 1, chainedPublisher: useThisPublisherBeforeRetrying)
Swift Package Manager:
dependencies: [ .package(url: "https://github.com/abdalaliii/RetryOn.git") ]
RetryOn is available under the MIT license. See the LICENSE file for more info.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
RetryOn
The RetryOn makes it simple for subscribers to retry and run a stream upon a failure.
Usage
Ensure to import RetryOn in each file you wish to have access to the utility.
The operator can be then used as part of your usual publisher chain declaration:
Installation
Swift Package Manager:
License
RetryOn is available under the MIT license. See the LICENSE file for more info.