You can also use RXJS Interval with TakeWhile operator. Here is the sample code ... query$.pipe(takeUntil(this.stop$)).subscribe( result =>
確定! 回上一頁