Observable from chained Tasks
问题 I'm trying to create an Observable where each item is produced via an asynchronous task. The next item should be produced via an async call on the result of the previous item (co-recursion). In "Generate" parlance this would look something like this - except that Generate does not support async (nor does it support the delegate on the initial state. var ob = Observable.Generate( async () => await ProduceFirst(), // Task<T> ProduceFirst() prev => Continue(prev) // bool Continue(T); async prev