摘要: Like switchMap and mergeMap, concatMap is a shortcut for map() followed by a concatAll(). In this lesson we will explore this RxJS operator and its pr 阅读全文
posted @ 2016-12-19 21:49 Zhentiw 阅读(672) 评论(0) 推荐(0)
摘要: Like RxJS switchMap() is a shortcut for map() and switch(), we will see in this lesson how mergeMap() is a shortcut for map() and mergeAll(), and lear 阅读全文
posted @ 2016-12-19 21:43 Zhentiw 阅读(407) 评论(0) 推荐(0)
摘要: We examine the of function we've seen on a few types and discover it's the Pointed interface. Instead of doing constructor way of Task: We can just sa 阅读全文
posted @ 2016-12-19 16:50 Zhentiw 阅读(220) 评论(0) 推荐(0)
摘要: We learn the formal definition of a functor and look at the laws they obey. Any Functor should follow two rules: 1. Function composition: Map twice eq 阅读全文
posted @ 2016-12-19 16:43 Zhentiw 阅读(189) 评论(0) 推荐(0)
摘要: We refactor a standard node callback style workflow into a composed task-based workflow. For example we have the code as following: We want to wrap as 阅读全文
posted @ 2016-12-19 16:29 Zhentiw 阅读(195) 评论(0) 推荐(0)