take 是取前幾個元素後結束observable,first就是取第一個元素後直接結束,和take(1)一樣 interval(1000).pipe( take(3) ).subscribe(res ...
確定! 回上一頁