jerry-hong / learn-rxjs-in-30-days Goto Github PK
View Code? Open in Web Editor NEW2017 iT 邦幫忙鐵人賽【30 天精通 RxJS】
2017 iT 邦幫忙鐵人賽【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邦幫忙註冊了還是不能發簡訊
就通過搜索來了這裡
如何Debug
Cold & Hot Observable
这两个地址失效了,可以提供一下新的地址吗?感谢
期待更新开源版本。你的系列文章写的非常好
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.