Пример #1
0
        static async Task WhileAsync()
        {
            var i = 0;

            await AsyncObservable.While(() => ++ i < 5, AsyncObservable.Range(0, 5)).SubscribeAsync(Print <int>()); // TODO: Use ForEachAsync.
        }