Skip to main content

simon

Member since Feb 22, 2016

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel