simon
Member since Feb 22, 2016
- Profile: /members/13062-simon.htm
- Comments: 3
Recent Blog Comments By simon
-
RxJS Streams Are Inconsistently Asynchronous In Angular 2 Beta 6
Posted on Feb 23, 2016 at 2:26 AM
@Ben, I think which behavior you want really depends on what you are building with RxJS (which is the reason there are different Schedulers for different use-cases). Only the first emit async and the rest not may work in some cases but not in all. For example if you are writing an EventEmitter with... read more »
-
RxJS Streams Are Inconsistently Asynchronous In Angular 2 Beta 6
Posted on Feb 22, 2016 at 2:08 PM
@Ben, I think the big difference is that Promises only resolve once. So you don't have a big trade-off if they are asynchron. Observable streams, on the other hand, can emit multiple times. This means, if you have an array with 1000 entries and emit each value within an Observable stream it would t... read more »
-
RxJS Streams Are Inconsistently Asynchronous In Angular 2 Beta 6
Posted on Feb 22, 2016 at 11:13 AM
AFAIK you can configure this behaviour in RxJS using schedulers ( https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/schedulers/scheduler.md ).... read more »