Вот мой код: import { interval, throwError } from rxjs; import { take, map } from rxjs/operators; interval(1000) .pipe( take(5), map(x => { if (x > 0) { // ...
確定! 回上一頁