摘要: To help understand your stream, you’ll almost always want to log out some the intermediate values to see how it has progressed during its lifespan. Th 阅读全文
posted @ 2016-03-11 21:00 Zhentiw 阅读(204) 评论(0) 推荐(0)
摘要: When a stream has completed, you often need to evaluate everything that has happened while the stream was running. This lesson covers how to use reduc 阅读全文
posted @ 2016-03-11 20:55 Zhentiw 阅读(239) 评论(0) 推荐(0)
摘要: Subscribe can take three params: subscribe( (x)=> console.log(x), err=> console.log(err), ()=> console.log('complete') ); If we want to stop the proga 阅读全文
posted @ 2016-03-11 15:37 Zhentiw 阅读(223) 评论(0) 推荐(0)
摘要: Often you only want values to proceed through your stream if they meet certain criteria, just as if you were using an if statement in plain JavaScript 阅读全文
posted @ 2016-03-11 15:30 Zhentiw 阅读(332) 评论(0) 推荐(0)
摘要: Two streams often need to work together to produce the values you’ll need. This lesson shows how to use an input stream and an interval stream togethe 阅读全文
posted @ 2016-03-11 04:17 Zhentiw 阅读(416) 评论(0) 推荐(0)
摘要: By default, Inputs will push input events into the stream. This lesson shows you how to use map to convert the input event into the text you actually 阅读全文
posted @ 2016-03-11 03:37 Zhentiw 阅读(175) 评论(0) 推荐(0)
摘要: Refactoring streams in RxJS is mostly moving pieces of smaller streams around. This lessons demonstrates a simple refactoring by requiring the StopWat 阅读全文
posted @ 2016-03-11 03:34 Zhentiw 阅读(809) 评论(0) 推荐(0)
摘要: You often need to handle multiple user interactions set to different streams. This lesson shows hows Observable.merge behaves like a "logical OR" to h 阅读全文
posted @ 2016-03-11 00:27 Zhentiw 阅读(228) 评论(0) 推荐(0)