I have an object which will periodically raise an event based on an action performed in an application. This will be heard by any listener(s) and acted upon accordingly.
I do not wish to use a custom type for this and would like to make use of either
IObservable<T> to manage the pub/sub mechanism I am looking to put in place.
I have had a play with both and they both do what I require.
Is one more suited for my scenario than the other or are both suitable and merely down to personal choice?
My pub/sub requirements are not at the UI layer at this point and are lower down. My publisher is monitoring network activity and raising an event based on certain network events. The subscriber is responsible for listening for raised events and performing an associated action. The UI is not involved at this point.