I have two different subject subscriptions for different events which call the same function
subject1.subscribe(
_ => callFunction();
);
subject2.subscribe(
_ => callFunction();
);
i need that callFunction () is not to be invoked more than once every second, how can i do this behavior with rxjs?