I have a service with a couple of methods, called in various different places in my code.
class Service {
method1() {
}
method2() {
}
I'd like to be able to subscribe to those method calls, ie have an observable which emits a value whenever one of those methods is called. I realize I can do this with an Rx.Subject
but I'm wondering if there's a way to do it without, because my case doesn't satisfy the requirements listed here ie I don't need a hot observable.