Rob Wormald
Member since Feb 21, 2016
- Profile: /members/13059-rob-wormald.htm
- Comments: 2
Recent Blog Comments By Rob Wormald
-
RxJS Streams Are Inconsistently Asynchronous In Angular 2 Beta 6
Posted on Feb 22, 2016 at 4:33 PM
This comes up a lot. I think on the surface, it can feel strange that you aren't able to know whether an Observable is sync or not. The Rx answer to that concern is generally, done properly, it shouldn't really matter. Using Observables you typically do everything "in band": someObserva... read more »
-
Throwing Errors In The Future Using RxJS In Angular 2 Beta 6
Posted on Feb 21, 2016 at 11:23 PM
Rather than monkey patching (which, while workable, is a bit sketchy with Typescript!), the best advice I can give is think in terms of transforms. By far the most powerful operator in Rx is flatMap - it does all sorts of magical things. A simple example of an Observable that starts with a value,... read more »