0001 // 0002 // ConnectableObservableType.swift 0003 // Rx 0004 // 0005 // Created by Krunoslav Zaher on 3/1/15. 0006 // Copyright © 2015 Krunoslav Zaher. All rights reserved. 0007 // 0008 0009 import Foundation 0010 0011 /** 0012 Represents an observable sequence wrapper that can be connected and disconnected from its underlying observable sequence. 0013 */ 0014 public protocol ConnectableObservableType: ObservableType { 0015 /** 0016 Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established. 0017 0018 - returns: Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence. 0019 */ 0020 func connect
ConnectableObservable.swift:16 , ConnectableObservableType {Observable+Binding.swift:114 extension ConnectableObservableType {() -> Disposable 0021 }
RefCount.swift:30 _parent._connectableSubscription = _parent._source.connect()