随笔分类 -  RxJS

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要:Debounce is known to be a rate-limiting operator, but it's not the only one. This lessons introduces you to throttleTime and throttle, which only drop 阅读全文
posted @ 2016-05-30 20:58 Zhentiw 阅读(367) 评论(0) 推荐(0)
摘要:Debounce and debounceTime operators are similar to delayWhen and delay, with the difference that they may drop some emissions. This lesson teaches you 阅读全文
posted @ 2016-05-30 20:01 Zhentiw 阅读(319) 评论(0) 推荐(0)
摘要:bufferToggle(open: Observable, () => close: Observalbe : Observalbe<T[]>) bufferToggle take two args, first is opening observable, seconde is a functi 阅读全文
posted @ 2016-05-28 03:01 Zhentiw 阅读(429) 评论(0) 推荐(0)
摘要:This lessons teaches about delay and delayWhen: simple operators that time shift. delay(number | date) delayWhen( function :Observable): accept a func 阅读全文
posted @ 2016-05-27 18:39 Zhentiw 阅读(422) 评论(0) 推荐(0)
摘要:This lesson will teach you about another horizontal combination operator: buffer and its variants. Buffer groups consecutive values together, emitting 阅读全文
posted @ 2016-05-27 18:24 Zhentiw 阅读(449) 评论(0) 推荐(0)
摘要:All of the combination operators take two or more observables as input. These operators may also be alternatively called "vertical combination operato 阅读全文
posted @ 2016-05-27 04:36 Zhentiw 阅读(274) 评论(0) 推荐(0)
摘要:Operator combineLatest is not the only AND-style combinator. In this lesson we will explore withLatestFrom, another AND-style combination operator, an 阅读全文
posted @ 2016-05-26 19:39 Zhentiw 阅读(291) 评论(0) 推荐(0)
摘要:CombineLatest and withLatestFrom are both AND-style combination operators. In this lesson, we will learn about zip, our last AND-style combinator. It 阅读全文
posted @ 2016-05-26 19:31 Zhentiw 阅读(322) 评论(0) 推荐(0)
摘要:While merge is an OR-style combination operator, combineLatest is an AND-style combination operator. This lesson explains what AND-style combination m 阅读全文
posted @ 2016-05-26 16:43 Zhentiw 阅读(200) 评论(0) 推荐(0)
摘要:Some Observables may complete, and we may want to append another Observable to the one which just completed. This lesson teaches you how to use the co 阅读全文
posted @ 2016-05-25 20:42 Zhentiw 阅读(347) 评论(0) 推荐(0)
摘要:After takeUntil() and takeWhile() function, let's have a look on skipWhile() and skilUntil() functions. SkipWhile(predicate: function): Skip the value 阅读全文
posted @ 2016-05-25 18:27 Zhentiw 阅读(354) 评论(0) 推荐(0)
摘要:take(), takeLast(), first(), last(), those opreators all take number or no param. takeUtil and takeWhile will take Observalbe and function. takeUntil( 阅读全文
posted @ 2016-05-25 18:17 Zhentiw 阅读(466) 评论(0) 推荐(0)
摘要:Operators take(), skip(), and first() all refer to values emitted in the beginning of an Observable execution. In this lesson we will see similar oper 阅读全文
posted @ 2016-05-25 16:47 Zhentiw 阅读(282) 评论(0) 推荐(0)
摘要:There are more operators in the filtering category besides filter(). This lesson will teach how take(), first(), and skip() are simply operators to ig 阅读全文
posted @ 2016-05-25 16:35 Zhentiw 阅读(272) 评论(0) 推荐(0)
摘要:This lesson introduces filter: an operator that allows us to let only certain events pass, while ignoring others. 阅读全文
posted @ 2016-05-25 16:25 Zhentiw 阅读(279) 评论(0) 推荐(0)
摘要:We just saw map which is a transformation operator. There are a couple of categories of operators, such as filtering, combination, flattening, etc. On 阅读全文
posted @ 2016-05-24 20:45 Zhentiw 阅读(306) 评论(0) 推荐(0)
摘要:We made our first operator called multiplyBy, which looks a bit useful, but in practice we don't need it because it's too specific: it only does simpl 阅读全文
posted @ 2016-05-24 20:42 Zhentiw 阅读(709) 评论(0) 推荐(0)
摘要:There are many operators available, and in order to understand them we need to have a simple way of communicating how they transform a source Observab 阅读全文
posted @ 2016-05-24 18:58 Zhentiw 阅读(344) 评论(0) 推荐(0)
摘要:We have covered the basics of what is Observable.create, and other creation functions. Now lets finally dive into operators, which are the focus of th 阅读全文
posted @ 2016-05-24 16:23 Zhentiw 阅读(198) 评论(0) 推荐(0)
摘要:Source: Link We will looking some opreators for combining stream in RxJS: merge combineLatest withLatestFrom concat forkJoin flatMap / switchMap Merge 阅读全文
posted @ 2016-04-20 00:14 Zhentiw 阅读(450) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页