Connectable Observable Operators 连接操作
- Connect — instruct a connectable Observable to begin emitting items to its subscribers
- Publish — convert an ordinary Observable into a connectable Observable
- RefCount — make a Connectable Observable behave like an ordinary Observable
- Replay — ensure that all observers see the same sequence of emitted items, even if they subscribe after the Observable has begun emitting items
Operators to Convert Observables 转换操作
- To — convert an Observable into another object or data structure
取消订阅
调用unsubscribe()方法,我们创建的Observer就不再会收到数据了