How can I generate a list of number with Rx.Net, like 0-100, where each number is generated at a random time?
edit:
seems like this works
There's an operator for that, you can use Generate:
var source = Observable.Generate( 0, x => x < 100, x => x + 1, _ => random.Next(0, 3), _ => TimeSpan.FromMilliseconds(random.Next(1, 10)* 1000)); source.Subscribe(x => Console.WriteLine(x));