I have an IObservable
that generates a value every second, followed by a select that runs some code that may take some time:
var events = Observable.Interval(TimeSpan.FromSeconds(1));
ssoInfoObservable = events
.Select(e =>
{
// ... perform long-running operation ...
})
The long-running operation may take more than one second so the first question is: will Rx push a new event even though handling of the previous hasn't finished yet? I suppose it will.
Second question is: how can I skip events while a previous event is still being handled?