Interface ISubscribable<T>
Represents a subscribable source.
Namespace: Reaqtive
Assembly: Reaqtive.Interfaces.dll
Syntax
public interface ISubscribable<out T> : IObservable<T>
Type Parameters
Name | Description |
---|---|
T | Type of the elements produced by the subscribable source. |
Methods
Subscribe(IObserver<T>)
Subscribes the specified observer to the subscribable source.
Declaration
ISubscription Subscribe(IObserver<T> observer)
Parameters
Type | Name | Description |
---|---|---|
System.IObserver<T> | observer | Observer that will receive the elements of the source. |
Returns
Type | Description |
---|---|
ISubscription | Handle to the newly created subscription. |