浏览代码

Adding IConnectableAsyncObservable.

Bart De Smet 8 年之前
父节点
当前提交
408c6ae679

+ 14 - 0
AsyncRx.NET/System.Reactive.Async/System/Reactive/Subjects/IConnectableAsyncObservable.cs

@@ -0,0 +1,14 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information. 
+
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace System.Reactive.Subjects
+{
+    public interface IConnectableAsyncObservable<out T> : IAsyncObservable<T>
+    {
+        Task<IAsyncDisposable> ConnectAsync();
+    }
+}