開啟 rxjs\src\internal\types.ts ,可以發現Observer 是一個interface,所以說只要具備 next 、 error 、 complete 3個方法的物件都可以稱為Observer ...
確定! 回上一頁