Observable
public class Observable<E> : ReferenceTracableObject, ObservableProtocol
A type erased object implementing ObservableProtocol
(for more read about type erasure
in swift).
-
Declaration
Swift
public typealias Element = E
-
Declaration
Swift
public func subscribe<O>(_ observer: O) -> Cancelable where E == O.Element, O : ObserverProtocol
-
Undocumented
Declaration
Swift
public func asObservable() -> Observable<E>