I tried your example and it did not work.  Plus, I the async pipe creates a 
subscription to the Observable so it should be active.

If I add a button that calls a method on the component, clicking the button 
causes the page to get updated with the latest value from the timer.  It 
seems like my timer observable is not firing change detection which is why 
it's not updating.  Is there something I need to do to fire change 
detection or will a Rx timer just not work?



On Wednesday, February 10, 2016 at 12:19:16 AM UTC-6, Sander Elias wrote:
>
> Hi John,
>
> You need to subscribe to your observable. Observables are lazy, and will 
> not 'do' anything until there is an active subscription.
>
> Something like this:
>
>  domain$
>    .map(i => `seconds elapsed ${i}`)
>    .subscribe(result => this.count = result);
>
> Hope this helps you a bit,
> Regards
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to