Observable
public class Observable<Element> : ObservableType
A type-erased ObservableType
.
It represents a push style sequence.
-
Declaration
Swift
public func subscribe<Observer>(_ observer: Observer) -> Disposable where Element == Observer.Element, Observer : ObserverType
-
Declaration
Swift
public func asObservable() -> Observable<Element>