Giter Club home page Giter Club logo

learn-rxjs-in-30-days's People

Contributors

jerry-hong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

learn-rxjs-in-30-days's Issues

看了30 天精通 RxJS 系列 想提問

hi JerryHong,
看了你鐵人賽中寫的關於RxJS系列文章,受益頗多。
正在練習寫一個爬蟲,碰到些問題可以向你請教嗎?

目前的結構是這樣的

Observable.from(<array of urls>)
  .mergeMap(url => <promise of requests>, <concurrency>)
  .map(res => <data object needed>)
  .concatAll()
  .withLatestFrom(<db>, (x, y) => <query promise>)
  .concatAll()
  .catch(e => <retry error>) // 不知道這裡怎麼寫
  .subscribe()

在運行中偶爾會出現錯誤 但是 catch retry retryWhen 似乎都是要重新從頭運行
能不能只 retry 出錯的那個 request 呢

iT邦幫忙註冊了還是不能發簡訊
就通過搜索來了這裡

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.