public protocol SubjectType : ObservableType
Represents an object that is both an observable sequence as well as an observer.
The type of the observer that represents this subject.
Usually this type is type of subject itself, but it doesn’t have to be.
associatedtype Observer : ObserverType
Returns observer interface for subject.
func asObserver() -> Observer
Observer interface for subject.