Interface IMultiSubject
A non-generic multi-subject, useful to support streams of data that can be subscribed to with types that may change (i.e., due to versioning) over time.
Namespace: Reaqtive
Assembly: Reaqtive.Interfaces.dll
Syntax
public interface IMultiSubject : IDisposable
Methods
GetObservable<T>()
Gets a subscribable to subscribe to the subject.
Declaration
ISubscribable<T> GetObservable<T>()
Returns
Type | Description |
---|---|
ISubscribable<T> | A subscribable that can receive elements of the subject. |
Type Parameters
Name | Description |
---|---|
T | The type of elements. |
GetObserver<T>()
Gets an observer to push elements into the subject.
Declaration
IObserver<T> GetObserver<T>()
Returns
Type | Description |
---|---|
System.IObserver<T> | An observer that can push elements into the subject. |
Type Parameters
Name | Description |
---|---|
T | The type of elements. |