You can also use an RXJS subscription.  It's been awhile, but I've used
them in the past

On Sat, Jul 1, 2023 at 1:29 PM Dipu D <tutumo...@gmail.com> wrote:

> Guys,
>
> I have a requirement to refresh an angular component, when someone send
> message to a queue. I have a service which will take the message from the
> queue and process. However, I would love to know, how can we update the
> data on the angualr component, after the service complete its execution, as
> the service knows nothing about angular or, is there any way for the
> service to trigger a change in the angular component.
>
> Other than the timer available in the angular to periodically poll the
> service manually, do we have any other option available to meet this
> requirement?
>
> Any help on this is much appreciated.
>
> Thanks
> Dipu
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/angular/fc5817b0-bd0a-4e3f-9794-f523adecd29cn%40googlegroups.com
> <https://groups.google.com/d/msgid/angular/fc5817b0-bd0a-4e3f-9794-f523adecd29cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/CAFydgQzxgpoNk4NcbH-kC0M-y2U6Mao8ddwfrRCRKWLkUerMTg%40mail.gmail.com.

Reply via email to