Imagine the following situation. Component A updates an array A in Service A. Component B uses/reads array A in Service A. If I want to Component B to be notified...when component A updates the Array, I could use a singleton, but my feeling...(coming from a C# + MVVM background) a singleton service would be overkill as this is only used by those 2 components in the application.
Is there an alternative, or should I just go ahead and create a singleton service?
Any advice is appreciated,
Thank you,