All pastes #2083007 Raw Edit

Unnamed

public text v1 · immutable
#2083007 ·published 2011-09-26 11:21 UTC
rendered paste body
        static void Main(string[] args)
        {
            Observable
                .Timer(TimeSpan.FromSeconds(0.5), Scheduler.Immediate)
                .Do(_ => Debug.WriteLine("Start"))
                .SelectMany(_ => Observable.Timer(TimeSpan.FromSeconds(1))) // timer simulates FromAsyncPattern call
                .Do(_ => Debug.WriteLine("Finish"))
                .Repeat()
                .Subscribe();

            Console.ReadLine();
        }