Interface IConnectableObservable<T>
Represents an observable wrapper that can be connected and disconnected from its underlying observable sequence.
Inherited Members
Namespace: System.Reactive.Subjects
Assembly: System.Reactive.Interfaces.dll
Syntax
public interface IConnectableObservable<out T> : IObservable<T>
Type Parameters
Name | Description |
---|---|
T | The type of the elements in the sequence. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics. |
Methods
| Improve this Doc View SourceConnect()
Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established.
Declaration
IDisposable Connect()
Returns
Type | Description |
---|---|
IDisposable | Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence. |