Events communication Service -> Component

Hello there!

I’m trying to figure out what’s the best way to communicate changes from a service to a component.

Just tried with https://ionicframework.com/docs/v2/api/util/Events/ but looks like it doesn’t work from a service. Any advice?

Can’t speak to “best way”, but what I typically do is to just expose an Observable in the service and have components subscribe to it.

1 Like