目录
目录README.md

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:

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

Installation

Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/abdalaliii/RetryOn.git")
]

License

RetryOn is available under the MIT license. See the LICENSE file for more info.

关于
31.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号