RxJS

RxJS 主要元素有

  • Observable:代表一系列的資料或是事件
  • Observer:用來監聽 Observable 所發生的值
  • Subscription:代表 Observable 的訂閱ID,主要目的是用來取消 Observable
  • Operators:pure function, 提供一系列的功能可以操作 Observable
  • Subject:等同於 EventEmitter,處理 multicasting 的唯一方法
  • Schedulers

在這章節會詳細的一一介紹及提供可能使用情境

results matching ""

    No results matching ""