Reputation: 5000
I'd like to create a heartbeat via RX, and I can't seem to find a way to create an Observable
which will pulse indefinitely.
Is this even possible?
Upvotes: 1
Views: 866
Reputation: 117064
Try this:
var forever = Observable.Interval(TimeSpan.FromSeconds(1.0));
Upvotes: 7