Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/rx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Ix/NET/System.Interactive.Async/IAsyncEnumerable.cs')
-rw-r--r--Ix/NET/System.Interactive.Async/IAsyncEnumerable.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ix/NET/System.Interactive.Async/IAsyncEnumerable.cs b/Ix/NET/System.Interactive.Async/IAsyncEnumerable.cs
new file mode 100644
index 0000000..8d892e1
--- /dev/null
+++ b/Ix/NET/System.Interactive.Async/IAsyncEnumerable.cs
@@ -0,0 +1,23 @@
+// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
+using System;
+
+namespace System.Collections.Generic
+{
+ /// <summary>
+ /// Asynchronous version of the IEnumerable&lt;T&gt; interface, allowing elements of the
+ /// enumerable sequence to be retrieved asynchronously.
+ /// </summary>
+ /// <typeparam name="T">Element type.</typeparam>
+ public interface IAsyncEnumerable<
+#if DESKTOPCLR40 || SILVERLIGHT4
+ out
+#endif
+ T>
+ {
+ /// <summary>
+ /// Gets an asynchronous enumerator over the sequence.
+ /// </summary>
+ /// <returns>Enumerator for asynchronous enumeration over the sequence.</returns>
+ IAsyncEnumerator<T> GetEnumerator();
+ }
+}