蜀道之难,难于上青天

0%

学习 RxSwift

rule 1

  • Sequences can have 0 or more elements.
  • Once an error or completed event is received, the sequence cannot produce any other element.
  • When a sequence sends the completed or error event all internal resources that compute sequence elements will be freed.
  • To cancel production of sequence elements and free resources immediately, call dispose on the returned subscription.

rule 2

  • onNext 没结束之前,onComplete、onError、onNext都不会开始执行
  • dispose被释放之后,其相关的订阅都会执行dispose
  • Observerable,subscribe是同步的
  • 可被订阅者,被订阅者,可被订阅,之后发布消息
  • 订阅者,订阅者发布消息

other

现在只是用熟练了绑定,监听。