none
Async IObservable enumerator

    Domanda

  • I wonder if an extension method exists that could be used like this:

    IObservable<T> observable = ...
    IAsyncEnumerator<T> enumerator = observable.GetAsyncEnumerator();

    while(await enumerator.MoveNext()) // Could rethrow OnError() exception { T current = enumerator.Current; }

    lunedì 13 febbraio 2012 03:44

Risposte

Tutte le risposte