Skip to content

Easily rerun a combine publisher when there's a failure

License

Notifications You must be signed in to change notification settings

HeyAbdelali/RetryOn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetryOn

RetryOn simplifies retrying streams after failure for subscribers.

Usage

Import

Ensure you import RetryOn into the relevant files:

import RetryOn

Implementation

Integrate the operator within your publisher chain declaration:

let _ = publisher.retryOn(ErrorName, retries: 1, chainedPublisher: useThisPublisherBeforeRetrying)

Installation

Swift Package Manager

Add RetryOn to your dependencies:

.package(url: "https://github.com/AbdAlAlii/RetryOn")

License

RetryOn is licensed under the MIT License. See the LICENSE file for more information.

About

Easily rerun a combine publisher when there's a failure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages