Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

cacheAndRemote使用问题 #38

Open

Description

@ZQ7

CacheStrategy.cacheAndRemote()这个缓存策略在 存在缓存网络错误 时没有走onNext,只回调了一次onError,但是在Debug调试CacheAndRemoteStrategy中的代码时,正常返回,回调一次onError一次onNext,求问一下这是什么问题

Activity

  1. ZQ7 commented on Sep 24, 2019

    @ZQ7
    Author

    配置应该是没有问题的,firstRemote(优先网络,缓存用异步的方式保存)这种策略可以

  2. BaiShou commented on Feb 6, 2020

    @BaiShou

    你解决了吗

  3. BaiShou commented on Feb 6, 2020

    @BaiShou

    不知道你是否是在mergeDelayError中使用的
    mergeDelayError有一个坑的。
    具体看 https://blog.csdn.net/shuxiangxingkong/article/details/52516018 里面说的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions